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

Side by Side Diff: chrome/browser/policy/cloud/user_cloud_policy_invalidator.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_CLOUD_USER_CLOUD_POLICY_INVALIDATOR_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_INVALIDATOR_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_INVALIDATOR_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_INVALIDATOR_H_
7 7
8 #include "chrome/browser/policy/cloud/cloud_policy_invalidator.h" 8 #include "chrome/browser/policy/cloud/cloud_policy_invalidator.h"
9 #include "components/keyed_service/core/keyed_service.h" 9 #include "components/keyed_service/core/keyed_service.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 17 matching lines...) Expand all
28 // invalidation service must remain valid until Shutdown is called. 28 // invalidation service must remain valid until Shutdown is called.
29 // |policy_manager| is the policy manager for the user policy and must remain 29 // |policy_manager| is the policy manager for the user policy and must remain
30 // valid until Shutdown is called. 30 // valid until Shutdown is called.
31 UserCloudPolicyInvalidator( 31 UserCloudPolicyInvalidator(
32 Profile* profile, 32 Profile* profile,
33 CloudPolicyManager* policy_manager); 33 CloudPolicyManager* policy_manager);
34 34
35 static enterprise_management::DeviceRegisterRequest::Type GetPolicyType(); 35 static enterprise_management::DeviceRegisterRequest::Type GetPolicyType();
36 36
37 // KeyedService: 37 // KeyedService:
38 virtual void Shutdown() OVERRIDE; 38 virtual void Shutdown() override;
39 39
40 // content::NotificationObserver implementation: 40 // content::NotificationObserver implementation:
41 virtual void Observe(int type, 41 virtual void Observe(int type,
42 const content::NotificationSource& source, 42 const content::NotificationSource& source,
43 const content::NotificationDetails& details) OVERRIDE; 43 const content::NotificationDetails& details) override;
44 44
45 private: 45 private:
46 // The profile associated with the invalidator. 46 // The profile associated with the invalidator.
47 Profile* profile_; 47 Profile* profile_;
48 48
49 // Used to register for notification that profile creation is complete. 49 // Used to register for notification that profile creation is complete.
50 content::NotificationRegistrar registrar_; 50 content::NotificationRegistrar registrar_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyInvalidator); 52 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyInvalidator);
53 }; 53 };
54 54
55 } // namespace policy 55 } // namespace policy
56 56
57 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_INVALIDATOR_H_ 57 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_CLOUD_POLICY_INVALIDATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698