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

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: Simpler AsyncLoader, fixed unit_tests, added connector::RefreshPolicies 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..a0e174feff1328c529dc25b94606f5fabbc2c172 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -86,12 +86,12 @@ class BrowserPolicyConnector : public content::NotificationObserver {
// and clears the error flags, so potential retries have a chance to succeed.
void ResetDevicePolicy();
- // Initiates a policy fetch after a successful device registration.
- void FetchDevicePolicy();
+ // Initiates device and user policy fetches, if possible. Pending fetches
+ // will be cancelled.
+ void FetchCloudPolicy();
- // 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();
+ // Refreshes policies on each existing provider.
+ void RefreshPolicies();
// Schedules initialization of the cloud policy backend services, if the
// services are already constructed.

Powered by Google App Engine
This is Rietveld 408576698