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

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

Issue 11031043: Fix handling of user and CA certificates on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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 7c55235a193c638264456bdcf245ed43d82ce51d..a6dc1c63a9b216c50a43b3fa9600be86a2786515 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -334,6 +334,16 @@ class CONTENT_EXPORT ContentBrowserClient {
int render_process_id,
int render_view_id) {}
+#if defined(OS_ANDROID)
+ // Adds either a DER-encoded X-509 certificate or PKCS#12 keychain
+ // through the Android system's CertInstaller activity.
+ virtual void AddNewCertificateOrKeychainAndroid(
+ net::URLRequest* request,
+ const char* data,
+ size_t data_len,
+ bool is_pkcs12) {}
+#endif
+
// Returns a a class to get notifications about media event. The embedder can
// return NULL if they're not interested.
virtual MediaObserver* GetMediaObserver();

Powered by Google App Engine
This is Rietveld 408576698