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_; |