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

Side by Side Diff: chrome/browser/policy/cloud/user_policy_signin_service_factory.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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
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/keyed_service/content/browser_context_keyed_service_factory .h" 9 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 content::BrowserContext* profile) const override; 43 content::BrowserContext* profile) const override;
44 44
45 // Overridden to cause this object to be created when the profile is created. 45 // Overridden to cause this object to be created when the profile is created.
46 bool ServiceIsCreatedWithBrowserContext() const override; 46 bool ServiceIsCreatedWithBrowserContext() const override;
47 47
48 // Register the preferences related to cloud-based user policy. 48 // Register the preferences related to cloud-based user policy.
49 void RegisterProfilePrefs( 49 void RegisterProfilePrefs(
50 user_prefs::PrefRegistrySyncable* registry) override; 50 user_prefs::PrefRegistrySyncable* registry) override;
51 51
52 private: 52 private:
53 friend struct DefaultSingletonTraits<UserPolicySigninServiceFactory>; 53 friend struct base::DefaultSingletonTraits<UserPolicySigninServiceFactory>;
54 54
55 UserPolicySigninServiceFactory(); 55 UserPolicySigninServiceFactory();
56 ~UserPolicySigninServiceFactory() override; 56 ~UserPolicySigninServiceFactory() override;
57 57
58 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory); 58 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory);
59 }; 59 };
60 60
61 } // namespace policy 61 } // namespace policy
62 62
63 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ 63 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698