Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Unified Diff: net/cert/nss_cert_database.h

Issue 424523002: Enable system NSS key slot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move nss_cert_database_chromeos_unittest.cc changes to another CL. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/cert/nss_cert_database.h
diff --git a/net/cert/nss_cert_database.h b/net/cert/nss_cert_database.h
index 4c47429303d8dbb60593ce7d3a15612e698e5939..16aeb553d61f38791e18c683458dd0a9de6c065f 100644
--- a/net/cert/nss_cert_database.h
+++ b/net/cert/nss_cert_database.h
@@ -130,6 +130,12 @@ class NET_EXPORT NSSCertDatabase {
virtual void ListCertsInSlot(const ListCertsCallback& callback,
PK11SlotInfo* slot);
+#if defined(OS_CHROMEOS)
Ryan Sleevi 2014/07/29 23:53:15 This feels like a layering violation to me, to hav
pneubeck (no reviews) 2014/07/30 06:27:39 Yes! Totally agreed. This shouldn't be present on
Ryan Sleevi 2014/07/30 06:45:30 That would still be a pretty egregious layering vi
+ // Get the slot for system-wide key data. May be NULL if the system token was
+ // not explicitly set.
+ virtual crypto::ScopedPK11Slot GetSystemSlot() const;
+#endif
+
// Get the default slot for public key data.
crypto::ScopedPK11Slot GetPublicSlot() const;

Powered by Google App Engine
This is Rietveld 408576698