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

Side by Side Diff: chrome/browser/policy/profile_policy_connector_factory.h

Issue 307993005: Enable the ManagedBookmarks policy on all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ 5 #ifndef CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_
6 #define CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ 6 #define CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 scoped_ptr<ProfilePolicyConnector> CreateForProfileInternal( 67 scoped_ptr<ProfilePolicyConnector> CreateForProfileInternal(
68 Profile* profile, 68 Profile* profile,
69 bool force_immediate_load); 69 bool force_immediate_load);
70 70
71 // BrowserContextKeyedBaseFactory: 71 // BrowserContextKeyedBaseFactory:
72 virtual void BrowserContextShutdown( 72 virtual void BrowserContextShutdown(
73 content::BrowserContext* context) OVERRIDE; 73 content::BrowserContext* context) OVERRIDE;
74 virtual void BrowserContextDestroyed( 74 virtual void BrowserContextDestroyed(
75 content::BrowserContext* context) OVERRIDE; 75 content::BrowserContext* context) OVERRIDE;
76 virtual void RegisterProfilePrefs(
77 user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
78 virtual void SetEmptyTestingFactory( 76 virtual void SetEmptyTestingFactory(
79 content::BrowserContext* context) OVERRIDE; 77 content::BrowserContext* context) OVERRIDE;
80 virtual void CreateServiceNow(content::BrowserContext* context) OVERRIDE; 78 virtual void CreateServiceNow(content::BrowserContext* context) OVERRIDE;
81 79
82 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap; 80 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap;
83 ConnectorMap connectors_; 81 ConnectorMap connectors_;
84 82
85 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory); 83 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory);
86 }; 84 };
87 85
88 } // namespace policy 86 } // namespace policy
89 87
90 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ 88 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698