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(); |
} |