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

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

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits from sleevi 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/ssl_host_state_decisions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 1c09777f42b2bd6690fa39a40dbd56b033b79911..1cb1c7845c8690012aa55478f703613b90925c13 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -40,6 +40,7 @@ class PushMessagingService;
class ResourceContext;
class SiteInstance;
class StoragePartition;
+class SSLHostStateDecisions;
// This class holds the context needed for a browsing session.
// It lives on the UI thread. All these methods must only be called on the UI
@@ -149,6 +150,10 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// responsible for ensuring that it outlives RenderProcessHost. It's valid to
// return NULL.
virtual PushMessagingService* GetPushMessagingService() = 0;
+
+ // Returns the SSL host state decisions for this context. It is not valid to
+ // return NULL, except for testing contexts.
Torne 2014/07/31 09:40:16 You've written here that it's not valid to return
jww 2014/07/31 18:08:57 Great catch! Indeed, this was a problem, and I've
+ virtual SSLHostStateDecisions* GetSSLHostStateDecisions() = 0;
};
} // namespace content
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/ssl_host_state_decisions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698