summaryrefslogtreecommitdiffstats
path: root/chrome/common/net/gaia/gaia_auth_consumer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/net/gaia/gaia_auth_consumer.h')
-rw-r--r--chrome/common/net/gaia/gaia_auth_consumer.h26
1 files changed, 8 insertions, 18 deletions
diff --git a/chrome/common/net/gaia/gaia_auth_consumer.h b/chrome/common/net/gaia/gaia_auth_consumer.h
index d498e6c..4d6c37d 100644
--- a/chrome/common/net/gaia/gaia_auth_consumer.h
+++ b/chrome/common/net/gaia/gaia_auth_consumer.h
@@ -15,24 +15,14 @@ class GoogleServiceAuthError;
class GaiaAuthConsumer {
public:
struct ClientLoginResult {
- inline ClientLoginResult() : two_factor(false) {}
- inline 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) {}
-
- inline bool operator==(const ClientLoginResult &b) const {
- return sid == b.sid &&
- lsid == b.lsid &&
- token == b.token &&
- data == b.data &&
- two_factor == b.two_factor;
- }
+ ClientLoginResult();
+ ClientLoginResult(const std::string& new_sid,
+ const std::string& new_lsid,
+ const std::string& new_token,
+ const std::string& new_data);
+ ~ClientLoginResult();
+
+ bool operator==(const ClientLoginResult &b) const;
std::string sid;
std::string lsid;