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

Unified Diff: chrome/browser/policy/browser_policy_connector.h

Issue 8586030: Added ConfigurationPolicyProvider::RefreshPolicies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/browser_policy_connector.h
diff --git a/chrome/browser/policy/browser_policy_connector.h b/chrome/browser/policy/browser_policy_connector.h
index 2dbd1b4612311085f12b545528d268cd49cbe371..bb0bfbc6bd50e2ddaf527bf793200e5d4b20b913 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -82,16 +82,13 @@ class BrowserPolicyConnector : public content::NotificationObserver {
// Returns the enterprise domain if device is managed.
std::string GetEnterpriseDomain();
- // Reset the device policy machinery. This stops any automatic retry behavior
+ // Resets the cloud policy machinery. This stops any automatic retry behavior
// and clears the error flags, so potential retries have a chance to succeed.
- void ResetDevicePolicy();
+ void ResetCloudPolicy();
Mattias Nissler (ping if slow) 2011/11/18 11:00:25 As mentioned in the other comment, the enrollment
Joao da Silva 2011/11/18 14:03:30 Done.
- // Initiates a policy fetch after a successful device registration.
- void FetchDevicePolicy();
-
- // Initiates a user policy fetch after a successful device registration. This
- // is only safe to call when a user device token is available.
- void FetchUserPolicy();
+ // Initiates device and user policy fetches, if possible. Pending fetches
+ // will be cancelled.
+ void FetchCloudPolicy();
// Schedules initialization of the cloud policy backend services, if the
// services are already constructed.

Powered by Google App Engine
This is Rietveld 408576698