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

Side by Side Diff: chrome/browser/chromeos/login/oauth1_login_manager.cc

Issue 11991002: Merge 176800 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/oauth1_login_manager.h" 5 #include "chrome/browser/chromeos/login/oauth1_login_manager.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/chromeos/login/user_manager.h" 9 #include "chrome/browser/chromeos/login/user_manager.h"
10 #include "chrome/browser/policy/browser_policy_connector.h" 10 #include "chrome/browser/policy/browser_policy_connector.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } else { 214 } else {
215 LOG(INFO) << "Failed to get OAuth1 token/secret encrypted."; 215 LOG(INFO) << "Failed to get OAuth1 token/secret encrypted.";
216 // Set the OAuth status invalid so that the user will go through full 216 // Set the OAuth status invalid so that the user will go through full
217 // GAIA login next time. 217 // GAIA login next time.
218 UserManager::Get()->SaveUserOAuthStatus( 218 UserManager::Get()->SaveUserOAuthStatus(
219 user->email(), User::OAUTH1_TOKEN_STATUS_INVALID); 219 user->email(), User::OAUTH1_TOKEN_STATUS_INVALID);
220 } 220 }
221 } 221 }
222 222
223 } // namespace chromeos 223 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/oauth1_login_manager.h ('k') | chrome/browser/chromeos/login/oauth1_login_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698