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

Side by Side Diff: chrome/browser/policy/cloud/user_policy_signin_service_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_
7 7
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "components/browser_context_keyed_service/browser_context_keyed_service _factory.h" 9 #include "components/browser_context_keyed_service/browser_context_keyed_service _factory.h"
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 protected: 33 protected:
34 // BrowserContextKeyedServiceFactory implementation. 34 // BrowserContextKeyedServiceFactory implementation.
35 virtual BrowserContextKeyedService* BuildServiceInstanceFor( 35 virtual BrowserContextKeyedService* BuildServiceInstanceFor(
36 content::BrowserContext* profile) const OVERRIDE; 36 content::BrowserContext* profile) const OVERRIDE;
37 37
38 // Overridden to cause this object to be created when the profile is created. 38 // Overridden to cause this object to be created when the profile is created.
39 virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; 39 virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
40 40
41 // Register the preferences related to cloud-based user policy. 41 // Register the preferences related to cloud-based user policy.
42 virtual void RegisterUserPrefs( 42 virtual void RegisterProfilePrefs(
43 user_prefs::PrefRegistrySyncable* registry) OVERRIDE; 43 user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
44 44
45 private: 45 private:
46 friend struct DefaultSingletonTraits<UserPolicySigninServiceFactory>; 46 friend struct DefaultSingletonTraits<UserPolicySigninServiceFactory>;
47 47
48 UserPolicySigninServiceFactory(); 48 UserPolicySigninServiceFactory();
49 virtual ~UserPolicySigninServiceFactory(); 49 virtual ~UserPolicySigninServiceFactory();
50 50
51 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory); 51 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory);
52 }; 52 };
53 53
54 } // namespace policy 54 } // namespace policy
55 55
56 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ 56 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_prefs_factory.cc ('k') | chrome/browser/policy/cloud/user_policy_signin_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698