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

Side by Side Diff: chrome/browser/policy/cloud_policy_controller.h

Issue 6882038: Move writing information to the lockbox after registering with the DM server. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reverted some whitespaces. Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_POLICY_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 // Computes the policy refresh delay to use. 130 // Computes the policy refresh delay to use.
131 int64 GetRefreshDelay(); 131 int64 GetRefreshDelay();
132 132
133 DeviceManagementService* service_; 133 DeviceManagementService* service_;
134 CloudPolicyCacheBase* cache_; 134 CloudPolicyCacheBase* cache_;
135 CloudPolicyIdentityStrategy* identity_strategy_; 135 CloudPolicyIdentityStrategy* identity_strategy_;
136 DeviceTokenFetcher* token_fetcher_; 136 DeviceTokenFetcher* token_fetcher_;
137 scoped_ptr<DeviceManagementBackend> backend_; 137 scoped_ptr<DeviceManagementBackend> backend_;
138 ControllerState state_; 138 ControllerState state_;
139 bool initial_fetch_done_;
140 PolicyNotifier* notifier_; 139 PolicyNotifier* notifier_;
141 140
142 int64 policy_refresh_rate_ms_; 141 int64 policy_refresh_rate_ms_;
143 int policy_refresh_deviation_factor_percent_; 142 int policy_refresh_deviation_factor_percent_;
144 int64 policy_refresh_deviation_max_ms_; 143 int64 policy_refresh_deviation_max_ms_;
145 int64 policy_refresh_error_delay_ms_; 144 int64 policy_refresh_error_delay_ms_;
146 int64 effective_policy_refresh_error_delay_ms_; 145 int64 effective_policy_refresh_error_delay_ms_;
147 146
148 CancelableTask* delayed_work_task_; 147 CancelableTask* delayed_work_task_;
149 ScopedRunnableMethodFactory<CloudPolicyController> method_factory_; 148 ScopedRunnableMethodFactory<CloudPolicyController> method_factory_;
150 149
151 DISALLOW_COPY_AND_ASSIGN(CloudPolicyController); 150 DISALLOW_COPY_AND_ASSIGN(CloudPolicyController);
152 }; 151 };
153 152
154 } // namespace policy 153 } // namespace policy
155 154
156 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_ 155 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698