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

Side by Side Diff: google_apis/gaia/gaia_auth_consumer.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
« no previous file with comments | « google_apis/gaia/gaia_auth_consumer.h ('k') | google_apis/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common/net/gaia/gaia_auth_consumer.h" 5 #include "google_apis/gaia/gaia_auth_consumer.h"
6 6
7 GaiaAuthConsumer::ClientLoginResult::ClientLoginResult() 7 GaiaAuthConsumer::ClientLoginResult::ClientLoginResult()
8 : two_factor(false) { 8 : two_factor(false) {
9 } 9 }
10 10
11 GaiaAuthConsumer::ClientLoginResult::ClientLoginResult( 11 GaiaAuthConsumer::ClientLoginResult::ClientLoginResult(
12 const std::string& new_sid, 12 const std::string& new_sid,
13 const std::string& new_lsid, 13 const std::string& new_lsid,
14 const std::string& new_token, 14 const std::string& new_token,
15 const std::string& new_data) 15 const std::string& new_data)
(...skipping 23 matching lines...) Expand all
39 expires_in_secs(new_expires_in_secs) {} 39 expires_in_secs(new_expires_in_secs) {}
40 40
41 GaiaAuthConsumer::ClientOAuthResult::~ClientOAuthResult() {} 41 GaiaAuthConsumer::ClientOAuthResult::~ClientOAuthResult() {}
42 42
43 bool GaiaAuthConsumer::ClientOAuthResult::operator==( 43 bool GaiaAuthConsumer::ClientOAuthResult::operator==(
44 const ClientOAuthResult &b) const { 44 const ClientOAuthResult &b) const {
45 return refresh_token == b.refresh_token && 45 return refresh_token == b.refresh_token &&
46 access_token == b.access_token && 46 access_token == b.access_token &&
47 expires_in_secs == b.expires_in_secs; 47 expires_in_secs == b.expires_in_secs;
48 } 48 }
OLDNEW
« no previous file with comments | « google_apis/gaia/gaia_auth_consumer.h ('k') | google_apis/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698