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

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

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 7 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 ProfilePolicyConnector* GetForProfileInternal(Profile* profile); 64 ProfilePolicyConnector* GetForProfileInternal(Profile* profile);
65 65
66 scoped_ptr<ProfilePolicyConnector> CreateForProfileInternal( 66 scoped_ptr<ProfilePolicyConnector> CreateForProfileInternal(
67 Profile* profile, 67 Profile* profile,
68 bool force_immediate_load, 68 bool force_immediate_load,
69 base::SequencedTaskRunner* sequenced_task_runner); 69 base::SequencedTaskRunner* sequenced_task_runner);
70 70
71 // ProfileKeyedBaseFactory: 71 // ProfileKeyedBaseFactory:
72 virtual void ProfileShutdown(content::BrowserContext* context) OVERRIDE; 72 virtual void ProfileShutdown(content::BrowserContext* context) OVERRIDE;
73 virtual void ProfileDestroyed(content::BrowserContext* context) OVERRIDE; 73 virtual void ProfileDestroyed(content::BrowserContext* context) OVERRIDE;
74 virtual void RegisterUserPrefs(PrefRegistrySyncable* registry) OVERRIDE; 74 virtual void RegisterUserPrefs(
75 user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
75 virtual void SetEmptyTestingFactory( 76 virtual void SetEmptyTestingFactory(
76 content::BrowserContext* context) OVERRIDE; 77 content::BrowserContext* context) OVERRIDE;
77 virtual void CreateServiceNow(content::BrowserContext* context) OVERRIDE; 78 virtual void CreateServiceNow(content::BrowserContext* context) OVERRIDE;
78 79
79 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap; 80 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap;
80 ConnectorMap connectors_; 81 ConnectorMap connectors_;
81 82
82 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory); 83 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory);
83 }; 84 };
84 85
85 } // namespace policy 86 } // namespace policy
86 87
87 #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