diff options
author | jknotten@chromium.org <jknotten@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 12:52:54 +0000 |
---|---|---|
committer | jknotten@chromium.org <jknotten@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 12:52:54 +0000 |
commit | d9ee002cc2c99761bb7d74d7c127d78aae3d8fe1 (patch) | |
tree | fde239b058bcca809acb9186e7969904b7f332bb /chrome/browser/profiles/profile.h | |
parent | b0fd74233c3b8d6c4cc9c32484b86e8d6a707706 (diff) | |
download | chromium_src-d9ee002cc2c99761bb7d74d7c127d78aae3d8fe1.zip chromium_src-d9ee002cc2c99761bb7d74d7c127d78aae3d8fe1.tar.gz chromium_src-d9ee002cc2c99761bb7d74d7c127d78aae3d8fe1.tar.bz2 |
Profile shouldn't own ProfilePolicyConnector. Introduce BrowserPolicyConnector::Create.
ProfilePolicyConnector is now owned by ProfilePolicyConnectorFactory, using
Profile has a key. This uses the ProfileKeyedService infrastructure originally
created for ThemeServiceFactory.
Also introduce BrowserPolicyConnector::Create method to faciliate stubbing out
for binary-size reduction purposes.
BUG=77155
TEST=Existing
Review URL: http://codereview.chromium.org/6902036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile.h')
-rw-r--r-- | chrome/browser/profiles/profile.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h index 80e8bdf..cb082da 100644 --- a/chrome/browser/profiles/profile.h +++ b/chrome/browser/profiles/profile.h @@ -33,9 +33,6 @@ class TransportSecurityState; class SSLConfigService; } -namespace policy { -class ProfilePolicyConnector; -} namespace prerender { class PrerenderManager; @@ -505,9 +502,6 @@ class Profile { // Returns the PromoCounter for Instant, or NULL if not applicable. virtual PromoCounter* GetInstantPromoCounter() = 0; - // Gets the policy connector associated with this profile. - virtual policy::ProfilePolicyConnector* GetPolicyConnector() = 0; - // Returns the ChromeURLDataManager for this profile. virtual ChromeURLDataManager* GetChromeURLDataManager() = 0; |