summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 08:34:46 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 08:34:46 +0000
commitd26f58aeca2d32c34ceeb84f905f81d9ba183438 (patch)
tree526488d74ac8f6fccd9f0006d40e50775c57b3c6 /chrome/browser/profile.h
parent41940f0fc8252f2f40c1d9113d547697ea3fe091 (diff)
downloadchromium_src-d26f58aeca2d32c34ceeb84f905f81d9ba183438.zip
chromium_src-d26f58aeca2d32c34ceeb84f905f81d9ba183438.tar.gz
chromium_src-d26f58aeca2d32c34ceeb84f905f81d9ba183438.tar.bz2
Remember that we've white listed a certificate when we switch to a new tab.
R=wtc BUG=6456 Review URL: http://codereview.chromium.org/20296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9747 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index fdbfd61..8f513ae 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -28,6 +28,7 @@ class NavigationController;
class PrefService;
class SessionService;
class SpellChecker;
+class SSLHostState;
class TabRestoreService;
class TemplateURLFetcher;
class TemplateURLModel;
@@ -110,6 +111,11 @@ class Profile {
// that this method is called.
virtual UserScriptMaster* GetUserScriptMaster() = 0;
+ // Retrieves a pointer to the SSLHostState associated with this profile.
+ // The SSLHostState is lazily created the first time that this method is
+ // called.
+ virtual SSLHostState* GetSSLHostState() = 0;
+
// Retrieves a pointer to the HistoryService associated with this
// profile. The HistoryService is lazily created the first time
// that this method is called.
@@ -261,6 +267,7 @@ class ProfileImpl : public Profile,
virtual Profile* GetOriginalProfile();
virtual VisitedLinkMaster* GetVisitedLinkMaster();
virtual UserScriptMaster* GetUserScriptMaster();
+ virtual SSLHostState* GetSSLHostState();
virtual ExtensionsService* GetExtensionsService();
virtual HistoryService* GetHistoryService(ServiceAccessType sat);
virtual WebDataService* GetWebDataService(ServiceAccessType sat);
@@ -323,6 +330,7 @@ class ProfileImpl : public Profile,
scoped_ptr<VisitedLinkMaster> visited_link_master_;
scoped_refptr<ExtensionsService> extensions_service_;
scoped_refptr<UserScriptMaster> user_script_master_;
+ scoped_ptr<SSLHostState> ssl_host_state_;
scoped_ptr<PrefService> prefs_;
scoped_ptr<TemplateURLFetcher> template_url_fetcher_;
scoped_ptr<TemplateURLModel> template_url_model_;