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

Unified Diff: chrome/browser/chromeos/login/oauth1_login_manager.cc

Issue 11946017: Remove old cloud policy code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits. 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/login/oauth1_login_manager.cc
diff --git a/chrome/browser/chromeos/login/oauth1_login_manager.cc b/chrome/browser/chromeos/login/oauth1_login_manager.cc
index 5588ec6fe80e1859d885fa8f46d6290b6a97d4b7..255f83fdfc1b89bb47f108f87b5759144f8975e4 100644
--- a/chrome/browser/chromeos/login/oauth1_login_manager.cc
+++ b/chrome/browser/chromeos/login/oauth1_login_manager.cc
@@ -7,7 +7,6 @@
#include "base/string_util.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chromeos/login/user_manager.h"
-#include "chrome/browser/policy/browser_policy_connector.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/token_service.h"
@@ -140,8 +139,6 @@ void OAuth1LoginManager::OnOAuth1AccessTokenAvailable(
void OAuth1LoginManager::OnOAuth1AccessTokenFetchFailed() {
LOG(ERROR) << "OAuth1 access token fetch failed!";
state_ = OAuthLoginManager::SESSION_RESTORE_DONE;
- g_browser_process->browser_policy_connector()->RegisterForUserPolicy(
- EmptyString());
}
void OAuth1LoginManager::OnOAuth1VerificationSucceeded(
« no previous file with comments | « chrome/browser/chromeos/login/login_utils_browsertest.cc ('k') | chrome/browser/chromeos/login/oauth2_policy_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698