| Index: chrome/browser/chromeos/login/existing_user_controller.cc
|
| diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
|
| index 34b1a56d7ea60e37c4dc73c5a055c6816c49abed..2e1e12307e926af79406dea57113d0e0b29f356e 100644
|
| --- a/chrome/browser/chromeos/login/existing_user_controller.cc
|
| +++ b/chrome/browser/chromeos/login/existing_user_controller.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| +#include "base/callback.h"
|
| #include "base/command_line.h"
|
| #include "base/logging.h"
|
| #include "base/message_loop.h"
|
| @@ -30,7 +31,7 @@
|
| #include "chrome/browser/chromeos/login/wizard_controller.h"
|
| #include "chrome/browser/chromeos/system/statistics_provider.h"
|
| #include "chrome/browser/google/google_util.h"
|
| -#include "chrome/browser/policy/browser_policy_connector.h"
|
| +#include "chrome/browser/policy/policy_service.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/prefs/session_startup_pref.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| @@ -94,8 +95,8 @@ const long int kSafeModeRestartUiDelayMs = 30000;
|
| // Makes a call to the policy subsystem to reload the policy when we detect
|
| // authentication change.
|
| void RefreshPoliciesOnUIThread() {
|
| - if (g_browser_process->browser_policy_connector())
|
| - g_browser_process->browser_policy_connector()->RefreshPolicies();
|
| + if (g_browser_process->policy_service())
|
| + g_browser_process->policy_service()->RefreshPolicies(base::Closure());
|
| }
|
|
|
| // Copies any authentication details that were entered in the login profile in
|
|
|