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

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

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 3 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/auth_attempt_state.h" 5 #include "chrome/browser/chromeos/login/auth_attempt_state.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "chrome/common/net/gaia/gaia_auth_consumer.h"
10 #include "chrome/common/net/gaia/gaia_auth_fetcher.h"
11 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "google_apis/gaia/gaia_auth_consumer.h"
11 #include "google_apis/gaia/gaia_auth_fetcher.h"
12 12
13 using content::BrowserThread; 13 using content::BrowserThread;
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 AuthAttemptState::AuthAttemptState(const std::string& username, 17 AuthAttemptState::AuthAttemptState(const std::string& username,
18 const std::string& password, 18 const std::string& password,
19 const std::string& ascii_hash, 19 const std::string& ascii_hash,
20 const std::string& login_token, 20 const std::string& login_token,
21 const std::string& login_captcha, 21 const std::string& login_captcha,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 136
137 void AuthAttemptState::SetOAuth1Token(const std::string& token, 137 void AuthAttemptState::SetOAuth1Token(const std::string& token,
138 const std::string& secret) { 138 const std::string& secret) {
139 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 139 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
140 oauth1_access_token_ = token; 140 oauth1_access_token_ = token;
141 oauth1_access_secret_ = secret; 141 oauth1_access_secret_ = secret;
142 } 142 }
143 143
144 } // namespace chromeos 144 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/auth_attempt_state.h ('k') | chrome/browser/chromeos/login/authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698