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
313
314
315
316
317
318
319

320
321
322
323
324
325
326
327
328
329

330
331

332
333
334
335
336
337
338
312
313
314
315
316
317
318

319
320
321
322
323
324
325
326
327
328

329
330

331
332
333
334
335
336
337
338







-
+









-
+

-
+







	DomRequestsManager::PpDelegateImpl *drmDelegateImpl;
	PcscNacl *pcsc_nacl;

	fprintf(stderr, "Called pcscNaClInit()\n");

	drmDelegateImpl = new DomRequestsManager::PpDelegateImpl(instance, core);

	pcsc_nacl = new PcscNacl(new DomRequestsManager("pcsc-nacl", drmDelegateImpl), "nahamlodapjneockbbogcleglpoillcn", "client");
	pcsc_nacl = new PcscNacl(new DomRequestsManager("pcsc-nacl", drmDelegateImpl), "khpfeaanjngmcnplbdlpegiifgpfgdco", "CACKey");

	fprintf(stderr, "New PcscNacl object = %p\n", pcsc_nacl);

	if (!pcsc_nacl->Initialize()) {
		fprintf(stderr, "PcscNacl->Initialize() failed !");

		return;
	}

	fprintf(stderr, "Global instance set to %p\n", pcsc_nacl);
	SetPcscNaclGlobalInstance(pcsc_nacl);

	SetPcscNaclGlobalInstance(pcsc_nacl);
	fprintf(stderr, "Global instance set to %p\n", pcsc_nacl);

	fprintf(stderr, "Returning.\n");

	return;
}
_EOF_