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

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: 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..c13a3f579f63fe85ff2e13c5d6559bd99d7a1a5d 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"
@@ -192,8 +193,7 @@ void BrowserPolicyConnector::FetchPolicy() {
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(),
+ cloud_policy_subsystem_->Initialize(prefs::kDevicePolicyRefreshRate,
Mattias Nissler (ping if slow) 2011/05/13 09:45:03 Indentation
sfeuz 2011/05/17 14:27:42 Done.
g_browser_process->system_request_context());
}
}
« no previous file with comments | « no previous file | chrome/browser/policy/cloud_policy_subsystem.h » ('j') | chrome/browser/policy/cloud_policy_subsystem.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698