Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
index cc6f444c1f035cc04a1e607148df55aa4422537e..0830e5c188163d8b39ec0267dd7a3bdefd561f47 100644 |
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
@@ -72,7 +72,6 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/rlz/rlz.h" |
-#include "chrome/browser/signin/token_service_factory.h" |
#include "chrome/browser/system_monitor/removable_device_notifications_chromeos.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
@@ -541,12 +540,6 @@ void ChromeBrowserMainPartsChromeos::PostProfileInit() { |
if (parsed_command_line().HasSwitch(::switches::kLoginUser) && |
!parsed_command_line().HasSwitch(::switches::kLoginPassword)) { |
- // Pass the TokenService pointer to the policy connector so user policy can |
- // grab a token and register with the policy server. |
- // TODO(mnissler): Remove once OAuth is the only authentication mechanism. |
- connector->SetUserPolicyTokenService( |
- TokenServiceFactory::GetForProfile(profile())); |
- |
// Make sure we flip every profile to not share proxies if the user hasn't |
// specified so explicitly. |
const PrefService::Preference* use_shared_proxies_pref = |