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

Unified Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Issue 11946017: Remove old cloud policy code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually upload the code I intended to upload. Created 7 years, 11 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/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 =

Powered by Google App Engine
This is Rietveld 408576698