Index: build/chrome/build-deps ================================================================== --- build/chrome/build-deps +++ build/chrome/build-deps @@ -303,11 +303,10 @@ cat << \_EOF_ > third_party/pcsc-lite/client-side/pcsc_nacl_init.cc #include #include #include -#include #include "pcsc_nacl_global.h" #include "dom_requests_manager.h" #include "pcsc_nacl.h" @@ -315,32 +314,22 @@ void pcscNaClInit(pp::Instance *instance, pp::Core *core) { DomRequestsManager::PpDelegateImpl *drmDelegateImpl; PcscNacl *pcsc_nacl; - fprintf(stderr, "Called pcscNaClInit()\n"); - drmDelegateImpl = new DomRequestsManager::PpDelegateImpl(instance, core); pcscNaClDRM = new DomRequestsManager("pcsc-nacl", drmDelegateImpl); pcsc_nacl = new PcscNacl(pcscNaClDRM, "khpfeaanjngmcnplbdlpegiifgpfgdco", "CACKey"); - fprintf(stderr, "New PcscNacl object = %p\n", pcsc_nacl); - if (!pcsc_nacl->Initialize()) { - fprintf(stderr, "PcscNacl->Initialize() failed !"); - return; } SetPcscNaclGlobalInstance(pcsc_nacl); - fprintf(stderr, "Global instance set to %p\n", pcsc_nacl); - - fprintf(stderr, "Returning.\n"); - return; } bool pcscNaClHandleMessage(const pp::Var &message) { return(pcscNaClDRM->HandleMessage(message));