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

Side by Side Diff: chrome/common/net/gaia/gaia_auth_consumer.cc

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. Created 9 years, 11 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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/common/net/gaia/gaia_auth_consumer.h"
6
7 GaiaAuthConsumer::ClientLoginResult::ClientLoginResult()
8 : two_factor(false) {
9 }
10
11 GaiaAuthConsumer::ClientLoginResult::ClientLoginResult(
12 const std::string& new_sid,
13 const std::string& new_lsid,
14 const std::string& new_token,
15 const std::string& new_data)
16 : sid(new_sid),
17 lsid(new_lsid),
18 token(new_token),
19 data(new_data),
20 two_factor(false) {}
21
22 GaiaAuthConsumer::ClientLoginResult::~ClientLoginResult() {}
23
24 bool GaiaAuthConsumer::ClientLoginResult::operator==(
25 const ClientLoginResult &b) const {
26 return sid == b.sid &&
27 lsid == b.lsid &&
28 token == b.token &&
29 data == b.data &&
30 two_factor == b.two_factor;
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698