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

Side by Side Diff: chrome/browser/chromeos/policy/device_cloud_policy_invalidator.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INVALIDATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INVALIDATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INVALIDATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INVALIDATOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 21 matching lines...) Expand all
32 // device-global invalidation service can be replaced with another service that 32 // device-global invalidation service can be replaced with another service that
33 // just connected. 33 // just connected.
34 class DeviceCloudPolicyInvalidator : public content::NotificationObserver { 34 class DeviceCloudPolicyInvalidator : public content::NotificationObserver {
35 public: 35 public:
36 DeviceCloudPolicyInvalidator(); 36 DeviceCloudPolicyInvalidator();
37 virtual ~DeviceCloudPolicyInvalidator(); 37 virtual ~DeviceCloudPolicyInvalidator();
38 38
39 // content::NotificationObserver: 39 // content::NotificationObserver:
40 virtual void Observe(int type, 40 virtual void Observe(int type,
41 const content::NotificationSource& source, 41 const content::NotificationSource& source,
42 const content::NotificationDetails& details) OVERRIDE; 42 const content::NotificationDetails& details) override;
43 43
44 private: 44 private:
45 friend class DeviceCloudPolicyInvalidatorTest; 45 friend class DeviceCloudPolicyInvalidatorTest;
46 46
47 // Helper that monitors the status of a single |InvalidationService|. 47 // Helper that monitors the status of a single |InvalidationService|.
48 class InvalidationServiceObserver; 48 class InvalidationServiceObserver;
49 49
50 // Status updates received from |InvalidationServiceObserver|s. 50 // Status updates received from |InvalidationServiceObserver|s.
51 void OnInvalidationServiceConnected( 51 void OnInvalidationServiceConnected(
52 invalidation::InvalidationService* invalidation_service); 52 invalidation::InvalidationService* invalidation_service);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // The current |CloudPolicyInvalidator|. NULL if no connected invalidation 94 // The current |CloudPolicyInvalidator|. NULL if no connected invalidation
95 // service is available. 95 // service is available.
96 scoped_ptr<CloudPolicyInvalidator> invalidator_; 96 scoped_ptr<CloudPolicyInvalidator> invalidator_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyInvalidator); 98 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyInvalidator);
99 }; 99 };
100 100
101 } // namespace policy 101 } // namespace policy
102 102
103 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INVALIDATOR_H_ 103 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INVALIDATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698