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

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

Issue 7014036: Split the policy refresh rate preference into user- and device-policy refresh rate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback by mnissler. Created 9 years, 7 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/browser_policy_connector.cc
diff --git a/chrome/browser/policy/browser_policy_connector.cc b/chrome/browser/policy/browser_policy_connector.cc
index 701fa047faaa0ae29ec705593ef49c0b08771338..a18a1d5d82582578ddef9c2eb8b5c5bc87244d6a 100644
--- a/chrome/browser/policy/browser_policy_connector.cc
+++ b/chrome/browser/policy/browser_policy_connector.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/policy/dummy_configuration_policy_provider.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/pref_names.h"
#if defined(OS_WIN)
#include "chrome/browser/policy/configuration_policy_provider_win.h"
@@ -193,7 +194,7 @@ void BrowserPolicyConnector::Initialize() {
// TODO(jkummerow, mnissler): Move this out of the browser startup path.
if (cloud_policy_subsystem_.get()) {
cloud_policy_subsystem_->Initialize(
- g_browser_process->local_state(),
+ prefs::kDevicePolicyRefreshRate,
g_browser_process->system_request_context());
}
}

Powered by Google App Engine
This is Rietveld 408576698