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

Unified Diff: content/public/browser/content_browser_client.h

Issue 18121007: *WIP* Store NSS slots per profile. Move keygen to chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index c73c72cb0e1bf180acabffc8c93e60cce831d17b..221db8ee5624a79234e752f16fa8f6c9b57b7816 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -405,6 +405,14 @@ class CONTENT_EXPORT ContentBrowserClient {
int render_process_id,
int render_view_id) {}
+ // XXX comment
+ virtual void Keygen(
+ ResourceContext* context,
+ int key_size_in_bits,
+ const std::string& challenge,
+ const GURL& url,
+ const base::Callback<void(const std::string*)>& callback) {}
+
// Returns a class to get notifications about media event. The embedder can
// return NULL if they're not interested.
virtual MediaObserver* GetMediaObserver();
@@ -576,14 +584,6 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy,
bool* success) {}
#endif
-
-#if defined(USE_NSS)
- // Return a delegate to authenticate and unlock |module|.
- // This is called on a worker thread.
- virtual
- crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
- const GURL& url);
-#endif
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698