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

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

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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 bbb7aa3f3d70af839f436dbcb045d558b61c7821..93252ef0e2d2dac58deb49b8e5d7a51afe3f8930 100644
--- a/chrome/browser/policy/browser_policy_connector.cc
+++ b/chrome/browser/policy/browser_policy_connector.cc
@@ -25,6 +25,7 @@
#include "chrome/browser/policy/policy_statistics_collector.h"
#include "chrome/browser/policy/user_policy_cache.h"
#include "chrome/browser/policy/user_policy_token_cache.h"
+#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/token_service.h"
#include "chrome/common/chrome_notification_types.h"
@@ -702,10 +703,11 @@ void BrowserPolicyConnector::CompleteInitialization() {
// TODO: Do not use g_browser_process once policy service is moved to
// BrowserPolicyConnector (http://crbug.com/128999).
- policy_statistics_collector_.reset(new policy::PolicyStatisticsCollector(
- g_browser_process->policy_service(),
- g_browser_process->local_state(),
- MessageLoop::current()->message_loop_proxy()));
+ policy_statistics_collector_.reset(
+ new policy::PolicyStatisticsCollector(
+ g_browser_process->policy_service(),
+ g_browser_process->local_state(),
+ MessageLoop::current()->message_loop_proxy()));
policy_statistics_collector_->Initialize();
}
« no previous file with comments | « chrome/browser/policy/auto_enrollment_client_unittest.cc ('k') | chrome/browser/policy/cloud_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698