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

Unified Diff: chrome/browser/net/nss_context.h

Issue 419013003: Replace c/b/nss_context by a KeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added Linux implementation. Created 6 years, 3 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: chrome/browser/net/nss_context.h
diff --git a/chrome/browser/net/nss_context.h b/chrome/browser/net/nss_context.h
index 8212ee14383be835be04d6482e098d3bd8b4604c..e494fa434286b0f5a4cee952009b2dd778a030bd 100644
--- a/chrome/browser/net/nss_context.h
+++ b/chrome/browser/net/nss_context.h
@@ -46,21 +46,4 @@ net::NSSCertDatabase* GetNSSCertDatabaseForResourceContext(
const base::Callback<void(net::NSSCertDatabase*)>& callback)
WARN_UNUSED_RESULT;
-#if defined(OS_CHROMEOS)
-// Enables the system key slot in the NSSCertDatabase for the user associated
-// with |context|.
-// Must be called only on the IO thread.
-void EnableNSSSystemKeySlotForResourceContext(
- content::ResourceContext* context);
-#endif
-
-// Gets a pointer to the NSSCertDatabase for the user associated with |context|.
-// It's a wrapper around |GetNSSCertDatabaseForResourceContext| which makes
-// sure it's called on IO thread (with |profile|'s resource context). The
-// callback will be called on the originating message loop.
-// It's accessing profile, so it should be called on the UI thread.
-void GetNSSCertDatabaseForProfile(
- Profile* profile,
- const base::Callback<void(net::NSSCertDatabase*)>& callback);
-
#endif // CHROME_BROWSER_NET_NSS_CONTEXT_H_
mattm 2014/09/05 07:35:29 whole file should be deleted?
pneubeck (no reviews) 2014/09/05 08:04:56 Done.

Powered by Google App Engine
This is Rietveld 408576698