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

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

Issue 18199003: Allow Chrome OS login profile to have different default pref values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 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 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 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 // 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 RegisterUserPrefs( 76 virtual void RegisterProfilePrefs(
77 user_prefs::PrefRegistrySyncable* registry) OVERRIDE; 77 user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
78 virtual void SetEmptyTestingFactory( 78 virtual void SetEmptyTestingFactory(
79 content::BrowserContext* context) OVERRIDE; 79 content::BrowserContext* context) OVERRIDE;
80 virtual void CreateServiceNow(content::BrowserContext* context) OVERRIDE; 80 virtual void CreateServiceNow(content::BrowserContext* context) OVERRIDE;
81 81
82 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap; 82 typedef std::map<Profile*, ProfilePolicyConnector*> ConnectorMap;
83 ConnectorMap connectors_; 83 ConnectorMap connectors_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory); 85 DISALLOW_COPY_AND_ASSIGN(ProfilePolicyConnectorFactory);
86 }; 86 };
87 87
88 } // namespace policy 88 } // namespace policy
89 89
90 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_ 90 #endif // CHROME_BROWSER_POLICY_PROFILE_POLICY_CONNECTOR_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698