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

Unified Diff: chrome/browser/policy/cloud/user_cloud_policy_manager.cc

Issue 27536003: Moved prefs::kUserPolicyRefreshRate to component/policy/policy_pref_names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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/cloud/user_cloud_policy_manager.cc
diff --git a/chrome/browser/policy/cloud/user_cloud_policy_manager.cc b/chrome/browser/policy/cloud/user_cloud_policy_manager.cc
index 03a00da4aa99dc7d33ab3138df2b05a5f21e7254..6cc03b2c3798650a9aee8468c84861370d8aa244 100644
--- a/chrome/browser/policy/cloud/user_cloud_policy_manager.cc
+++ b/chrome/browser/policy/cloud/user_cloud_policy_manager.cc
@@ -13,7 +13,7 @@
#include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
#include "chrome/browser/policy/cloud/user_cloud_policy_store.h"
#include "chrome/browser/policy/policy_types.h"
-#include "chrome/common/pref_names.h"
+#include "components/policy/core/common/policy_pref_names.h"
#include "net/url_request/url_request_context_getter.h"
namespace em = enterprise_management;
@@ -52,7 +52,8 @@ void UserCloudPolicyManager::Connect(
scoped_ptr<CloudPolicyClient> client) {
core()->Connect(client.Pass());
core()->StartRefreshScheduler();
- core()->TrackRefreshDelayPref(local_state, prefs::kUserPolicyRefreshRate);
+ core()->TrackRefreshDelayPref(local_state,
+ policy_prefs::kUserPolicyRefreshRate);
if (external_data_manager_)
external_data_manager_->Connect(request_context);
}

Powered by Google App Engine
This is Rietveld 408576698