Check-in [433d53f019]
Overview
Comment:ChromeOS: Removed debugging from PCSC bridge initialization
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:433d53f0190f6fa77121291f14a1f87bdb55dd1a
User & Date: rkeene on 2016-02-12 04:06:30
Other Links: manifest | tags
Context
2016-02-12
04:06
ChromeOS: Started work on supporting signing messages check-in: 75140d9f77 user: rkeene tags: trunk
04:06
ChromeOS: Removed debugging from PCSC bridge initialization check-in: 433d53f019 user: rkeene tags: trunk
04:04
Better invocation of "ar" for static CACKey builds check-in: 2eba6a47c6 user: rkeene tags: trunk
Changes

Modified build/chrome/build-deps from [13d302559b] to [5999de848a].

   301    301   
   302    302   		## Create initialization procedure, since it lacks one
   303    303   		cat << \_EOF_ > third_party/pcsc-lite/client-side/pcsc_nacl_init.cc
   304    304   #include <ppapi/cpp/core.h>
   305    305   #include <ppapi/cpp/instance.h>
   306    306   
   307    307   #include <unistd.h>
   308         -#include <stdio.h>
   309    308   
   310    309   #include "pcsc_nacl_global.h"
   311    310   #include "dom_requests_manager.h"
   312    311   #include "pcsc_nacl.h"
   313    312   
   314    313   static DomRequestsManager *pcscNaClDRM = NULL;
   315    314   
   316    315   void pcscNaClInit(pp::Instance *instance, pp::Core *core) {
   317    316   	DomRequestsManager::PpDelegateImpl *drmDelegateImpl;
   318    317   	PcscNacl *pcsc_nacl;
   319    318   
   320         -	fprintf(stderr, "Called pcscNaClInit()\n");
   321         -
   322    319   	drmDelegateImpl = new DomRequestsManager::PpDelegateImpl(instance, core);
   323    320   
   324    321   	pcscNaClDRM = new DomRequestsManager("pcsc-nacl", drmDelegateImpl);
   325    322   
   326    323   	pcsc_nacl = new PcscNacl(pcscNaClDRM, "khpfeaanjngmcnplbdlpegiifgpfgdco", "CACKey");
   327    324   
   328         -	fprintf(stderr, "New PcscNacl object = %p\n", pcsc_nacl);
   329         -
   330    325   	if (!pcsc_nacl->Initialize()) {
   331         -		fprintf(stderr, "PcscNacl->Initialize() failed !");
   332         -
   333    326   		return;
   334    327   	}
   335    328   
   336    329   	SetPcscNaclGlobalInstance(pcsc_nacl);
   337    330   
   338         -	fprintf(stderr, "Global instance set to %p\n", pcsc_nacl);
   339         -
   340         -	fprintf(stderr, "Returning.\n");
   341         -
   342    331   	return;
   343    332   }
   344    333   
   345    334   bool pcscNaClHandleMessage(const pp::Var &message) {
   346    335   	return(pcscNaClDRM->HandleMessage(message));
   347    336   }
   348    337   _EOF_