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

Side by Side Diff: chrome/browser/chromeos/policy/device_local_account_policy_service.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 (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_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 scoped_refptr<net::URLRequestContextGetter> request_context); 97 scoped_refptr<net::URLRequestContextGetter> request_context);
98 98
99 // Reads the refresh delay from policy and configures the refresh scheduler. 99 // Reads the refresh delay from policy and configures the refresh scheduler.
100 void UpdateRefreshDelay(); 100 void UpdateRefreshDelay();
101 101
102 // Retrieves the display name for the account as stored in policy. Returns an 102 // Retrieves the display name for the account as stored in policy. Returns an
103 // empty string if the policy is not present. 103 // empty string if the policy is not present.
104 std::string GetDisplayName() const; 104 std::string GetDisplayName() const;
105 105
106 // CloudPolicyStore::Observer: 106 // CloudPolicyStore::Observer:
107 virtual void OnStoreLoaded(CloudPolicyStore* store) OVERRIDE; 107 virtual void OnStoreLoaded(CloudPolicyStore* store) override;
108 virtual void OnStoreError(CloudPolicyStore* store) OVERRIDE; 108 virtual void OnStoreError(CloudPolicyStore* store) override;
109 109
110 // ComponentCloudPolicyService::Delegate: 110 // ComponentCloudPolicyService::Delegate:
111 virtual void OnComponentCloudPolicyUpdated() OVERRIDE; 111 virtual void OnComponentCloudPolicyUpdated() override;
112 112
113 private: 113 private:
114 void CreateComponentCloudPolicyService( 114 void CreateComponentCloudPolicyService(
115 const scoped_refptr<net::URLRequestContextGetter>& request_context); 115 const scoped_refptr<net::URLRequestContextGetter>& request_context);
116 116
117 const std::string account_id_; 117 const std::string account_id_;
118 const std::string user_id_; 118 const std::string user_id_;
119 const base::FilePath component_policy_cache_path_; 119 const base::FilePath component_policy_cache_path_;
120 SchemaRegistry schema_registry_; 120 SchemaRegistry schema_registry_;
121 const scoped_ptr<DeviceLocalAccountPolicyStore> store_; 121 const scoped_ptr<DeviceLocalAccountPolicyStore> store_;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 base::FilePath component_policy_cache_root_; 265 base::FilePath component_policy_cache_root_;
266 266
267 base::WeakPtrFactory<DeviceLocalAccountPolicyService> weak_factory_; 267 base::WeakPtrFactory<DeviceLocalAccountPolicyService> weak_factory_;
268 268
269 DISALLOW_COPY_AND_ASSIGN(DeviceLocalAccountPolicyService); 269 DISALLOW_COPY_AND_ASSIGN(DeviceLocalAccountPolicyService);
270 }; 270 };
271 271
272 } // namespace policy 272 } // namespace policy
273 273
274 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_ 274 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_LOCAL_ACCOUNT_POLICY_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698