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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/cloud_policy_controller.h
diff --git a/chrome/browser/policy/cloud_policy_controller.h b/chrome/browser/policy/cloud_policy_controller.h
index 56dc82ad3406479f5f3aa9315805c911d28473d8..0f8391aab0ceb20230a3a7acbade0966f3f126c9 100644
--- a/chrome/browser/policy/cloud_policy_controller.h
+++ b/chrome/browser/policy/cloud_policy_controller.h
@@ -45,6 +45,10 @@ class CloudPolicyController
// Sets the refresh rate at which to re-fetch policy information.
void SetRefreshRate(int64 refresh_rate_milliseconds);
+ // Sets wether the policy fetching should not be started immediately after
+ // token fetch. This flag auto-resets itself.
+ void StopAfterTokenFetch(bool enabled);
Mattias Nissler (ping if slow) 2011/04/19 12:15:25 Let's go through the identity strategy, which is d
+
// Triggers an immediate retry of of the current operation.
void Retry();
@@ -136,7 +140,7 @@ class CloudPolicyController
DeviceTokenFetcher* token_fetcher_;
scoped_ptr<DeviceManagementBackend> backend_;
ControllerState state_;
- bool initial_fetch_done_;
+ bool stop_after_token_fetch_;
PolicyNotifier* notifier_;
int64 policy_refresh_rate_ms_;

Powered by Google App Engine
This is Rietveld 408576698