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

Side by Side Diff: chrome/common/net/gaia/gaia_authenticator2.h

Issue 2982009: Revert everything related to the relanding. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_ 5 #ifndef CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_
6 #define CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_ 6 #define CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "base/scoped_ptr.h"
12 #include "chrome/common/net/gaia/gaia_auth_consumer.h" 11 #include "chrome/common/net/gaia/gaia_auth_consumer.h"
13 #include "chrome/common/net/url_fetcher.h" 12 #include "chrome/common/net/url_fetcher.h"
14 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
15 14
16 // Authenticate a user against the Google Accounts ClientLogin API 15 // Authenticate a user against the Google Accounts ClientLogin API
17 // with various capabilities and return results to a GaiaAuthConsumer. 16 // with various capabilities and return results to a GaiaAuthConsumer.
18 // 17 //
19 // In the future, we will also issue auth tokens from this class. 18 // In the future, we will also issue auth tokens from this class.
20 // This class should be used on a single thread, but it can be whichever thread 19 // This class should be used on a single thread, but it can be whichever thread
21 // that you like. 20 // that you like.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 147
149 friend class GaiaAuthenticator2Test; 148 friend class GaiaAuthenticator2Test;
150 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, LoginNetFailure); 149 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, LoginNetFailure);
151 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, CheckNormalErrorCode); 150 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, CheckNormalErrorCode);
152 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, CheckTwoFactorResponse); 151 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, CheckTwoFactorResponse);
153 152
154 DISALLOW_COPY_AND_ASSIGN(GaiaAuthenticator2); 153 DISALLOW_COPY_AND_ASSIGN(GaiaAuthenticator2);
155 }; 154 };
156 155
157 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_ 156 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_
OLDNEW
« no previous file with comments | « chrome/common/desktop_notifications/active_notification_tracker.cc ('k') | chrome/common/process_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698