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

Unified Diff: chrome/common/net/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_consumer.h ('k') | chrome/common/net/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/gaia_auth_consumer.cc
diff --git a/chrome/common/net/gaia/gaia_auth_consumer.cc b/chrome/common/net/gaia/gaia_auth_consumer.cc
deleted file mode 100644
index 6b14655b3fc2e9dfad75c95e30009ab583afbd7b..0000000000000000000000000000000000000000
--- a/chrome/common/net/gaia/gaia_auth_consumer.cc
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/common/net/gaia/gaia_auth_consumer.h"
-
-GaiaAuthConsumer::ClientLoginResult::ClientLoginResult()
- : two_factor(false) {
-}
-
-GaiaAuthConsumer::ClientLoginResult::ClientLoginResult(
- const std::string& new_sid,
- const std::string& new_lsid,
- const std::string& new_token,
- const std::string& new_data)
- : sid(new_sid),
- lsid(new_lsid),
- token(new_token),
- data(new_data),
- two_factor(false) {}
-
-GaiaAuthConsumer::ClientLoginResult::~ClientLoginResult() {}
-
-bool GaiaAuthConsumer::ClientLoginResult::operator==(
- const ClientLoginResult &b) const {
- return sid == b.sid &&
- lsid == b.lsid &&
- token == b.token &&
- data == b.data &&
- two_factor == b.two_factor;
-}
-
-GaiaAuthConsumer::ClientOAuthResult::ClientOAuthResult(
- const std::string& new_refresh_token,
- const std::string& new_access_token,
- int new_expires_in_secs)
- : refresh_token(new_refresh_token),
- access_token(new_access_token),
- expires_in_secs(new_expires_in_secs) {}
-
-GaiaAuthConsumer::ClientOAuthResult::~ClientOAuthResult() {}
-
-bool GaiaAuthConsumer::ClientOAuthResult::operator==(
- const ClientOAuthResult &b) const {
- return refresh_token == b.refresh_token &&
- access_token == b.access_token &&
- expires_in_secs == b.expires_in_secs;
-}
« no previous file with comments | « chrome/common/net/gaia/gaia_auth_consumer.h ('k') | chrome/common/net/gaia/gaia_auth_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698