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

Unified Diff: chrome/browser/chromeos/login/auth/online_attempt.cc

Issue 296773002: Add a Key class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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/auth/online_attempt.cc
diff --git a/chrome/browser/chromeos/login/auth/online_attempt.cc b/chrome/browser/chromeos/login/auth/online_attempt.cc
index a18543da01bb89bb936e9c7f8067841334473364..60904771bb57c040879be6e4997209026a783bfb 100644
--- a/chrome/browser/chromeos/login/auth/online_attempt.cc
+++ b/chrome/browser/chromeos/login/auth/online_attempt.cc
@@ -12,6 +12,8 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/login/auth/auth_attempt_state.h"
#include "chrome/browser/chromeos/login/auth/auth_attempt_state_resolver.h"
+#include "chrome/browser/chromeos/login/auth/key.h"
+#include "chrome/browser/chromeos/login/auth/user_context.h"
#include "chrome/browser/chromeos/login/users/user.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
@@ -127,7 +129,7 @@ void OnlineAttempt::TryClientLogin() {
client_fetcher_->StartClientLogin(
attempt_->user_context.GetUserID(),
- attempt_->user_context.GetPassword(),
+ attempt_->user_context.GetKey()->GetSecret(),
GaiaConstants::kSyncService,
attempt_->login_token,
attempt_->login_captcha,
« no previous file with comments | « chrome/browser/chromeos/login/auth/mock_authenticator.cc ('k') | chrome/browser/chromeos/login/auth/online_attempt_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698