Check-in [2c83f782c6]
Overview
Comment:ChromeOS: Hard-coded ID of smartcard manager app
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2c83f782c6947d2921a8ba3cb9bea69c32f2df6d
User & Date: rkeene on 2016-02-11 16:04:30
Other Links: manifest | tags
Context
2016-02-11
16:07
ChromeOS: Check to ensure we are running under ChromeOS before initializing, print an error to our console if not check-in: 5af7507345 user: rkeene tags: trunk
16:04
ChromeOS: Hard-coded ID of smartcard manager app check-in: 2c83f782c6 user: rkeene tags: trunk
16:03
ChromeOS: Updated to create a new thread for every request, since we must not run on the main thread check-in: a32e10a9ec user: rkeene tags: trunk
Changes

Modified build/chrome/build-deps from [c94a1830f2] to [8ff9a8d29a].

   312    312   	DomRequestsManager::PpDelegateImpl *drmDelegateImpl;
   313    313   	PcscNacl *pcsc_nacl;
   314    314   
   315    315   	fprintf(stderr, "Called pcscNaClInit()\n");
   316    316   
   317    317   	drmDelegateImpl = new DomRequestsManager::PpDelegateImpl(instance, core);
   318    318   
   319         -	pcsc_nacl = new PcscNacl(new DomRequestsManager("pcsc-nacl", drmDelegateImpl), "nahamlodapjneockbbogcleglpoillcn", "client");
          319  +	pcsc_nacl = new PcscNacl(new DomRequestsManager("pcsc-nacl", drmDelegateImpl), "khpfeaanjngmcnplbdlpegiifgpfgdco", "CACKey");
   320    320   
   321    321   	fprintf(stderr, "New PcscNacl object = %p\n", pcsc_nacl);
   322    322   
   323    323   	if (!pcsc_nacl->Initialize()) {
   324    324   		fprintf(stderr, "PcscNacl->Initialize() failed !");
   325    325   
   326    326   		return;
   327    327   	}
   328    328   
   329         -	fprintf(stderr, "Global instance set to %p\n", pcsc_nacl);
   330         -
   331    329   	SetPcscNaclGlobalInstance(pcsc_nacl);
          330  +
          331  +	fprintf(stderr, "Global instance set to %p\n", pcsc_nacl);
   332    332   
   333    333   	fprintf(stderr, "Returning.\n");
   334    334   
   335    335   	return;
   336    336   }
   337    337   _EOF_
   338    338