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

Unified Diff: chrome/browser/policy/configuration_policy_loader_win.cc

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/configuration_policy_loader_win.cc
diff --git a/chrome/browser/policy/configuration_policy_loader_win.cc b/chrome/browser/policy/configuration_policy_loader_win.cc
index 03d12d18a096a202fedb7b73d94c9cbfc0f9d5cf..1b840669714350dcf675261b7528c175afbbe42c 100644
--- a/chrome/browser/policy/configuration_policy_loader_win.cc
+++ b/chrome/browser/policy/configuration_policy_loader_win.cc
@@ -33,12 +33,13 @@ ConfigurationPolicyLoaderWin::ConfigurationPolicyLoaderWin(
}
}
-void ConfigurationPolicyLoaderWin::Reload(bool force) {
+void ConfigurationPolicyLoaderWin::Reload(const base::Closure& callback,
+ bool force) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
// Reset the watches BEFORE reading the individual policies to avoid
// missing a change notification.
SetupWatches();
- AsynchronousPolicyLoader::Reload(force);
+ AsynchronousPolicyLoader::Reload(callback, force);
}
void ConfigurationPolicyLoaderWin::InitOnFileThread() {

Powered by Google App Engine
This is Rietveld 408576698