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

Side by Side Diff: chrome/browser/chromeos/policy/device_cloud_policy_initializer.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_INITIALIZER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INITIALIZER_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INITIALIZER_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INITIALIZER_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 #include <string> 9 #include <string>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Looks up the domain from |install_attributes_|. 88 // Looks up the domain from |install_attributes_|.
89 std::string GetEnrollmentRecoveryDomain() const; 89 std::string GetEnrollmentRecoveryDomain() const;
90 90
91 // Checks whether the user can cancel enrollment. 91 // Checks whether the user can cancel enrollment.
92 bool CanExitEnrollment() const; 92 bool CanExitEnrollment() const;
93 93
94 // Gets the domain this device is supposed to be enrolled to. 94 // Gets the domain this device is supposed to be enrolled to.
95 std::string GetForcedEnrollmentDomain() const; 95 std::string GetForcedEnrollmentDomain() const;
96 96
97 // CloudPolicyStore::Observer: 97 // CloudPolicyStore::Observer:
98 virtual void OnStoreLoaded(CloudPolicyStore* store) OVERRIDE; 98 virtual void OnStoreLoaded(CloudPolicyStore* store) override;
99 virtual void OnStoreError(CloudPolicyStore* store) OVERRIDE; 99 virtual void OnStoreError(CloudPolicyStore* store) override;
100 100
101 private: 101 private:
102 // Handles completion signaled by |enrollment_handler_|. 102 // Handles completion signaled by |enrollment_handler_|.
103 void EnrollmentCompleted(const EnrollmentCallback& enrollment_callback, 103 void EnrollmentCompleted(const EnrollmentCallback& enrollment_callback,
104 EnrollmentStatus status); 104 EnrollmentStatus status);
105 105
106 // Creates a new CloudPolicyClient. 106 // Creates a new CloudPolicyClient.
107 scoped_ptr<CloudPolicyClient> CreateClient( 107 scoped_ptr<CloudPolicyClient> CreateClient(
108 DeviceManagementService* device_management_service); 108 DeviceManagementService* device_management_service);
109 109
(...skipping 21 matching lines...) Expand all
131 ServerBackedStateKeysBroker::Subscription state_keys_update_subscription_; 131 ServerBackedStateKeysBroker::Subscription state_keys_update_subscription_;
132 132
133 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_; 133 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyInitializer); 135 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyInitializer);
136 }; 136 };
137 137
138 } // namespace policy 138 } // namespace policy
139 139
140 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INITIALIZER_H_ 140 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INITIALIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698