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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 22 matching lines...) Expand all
33 33
34 // Allows setting a mock DeviceManagementService for tests. Does not take 34 // Allows setting a mock DeviceManagementService for tests. Does not take
35 // ownership, and should be reset to NULL at the end of the test. 35 // ownership, and should be reset to NULL at the end of the test.
36 // Set this before an instance is built for a Profile. 36 // Set this before an instance is built for a Profile.
37 static void SetDeviceManagementServiceForTesting( 37 static void SetDeviceManagementServiceForTesting(
38 DeviceManagementService* device_management_service); 38 DeviceManagementService* device_management_service);
39 39
40 protected: 40 protected:
41 // BrowserContextKeyedServiceFactory implementation. 41 // BrowserContextKeyedServiceFactory implementation.
42 virtual KeyedService* BuildServiceInstanceFor( 42 virtual KeyedService* BuildServiceInstanceFor(
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 virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; 46 virtual 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 virtual void RegisterProfilePrefs( 49 virtual 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 DefaultSingletonTraits<UserPolicySigninServiceFactory>;
54 54
55 UserPolicySigninServiceFactory(); 55 UserPolicySigninServiceFactory();
56 virtual ~UserPolicySigninServiceFactory(); 56 virtual ~UserPolicySigninServiceFactory();
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