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

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

Issue 2937010: Reland r52336. (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"
11 #include "chrome/common/net/gaia/gaia_auth_consumer.h" 12 #include "chrome/common/net/gaia/gaia_auth_consumer.h"
12 #include "chrome/common/net/url_fetcher.h" 13 #include "chrome/common/net/url_fetcher.h"
13 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
14 15
15 // Authenticate a user against the Google Accounts ClientLogin API 16 // Authenticate a user against the Google Accounts ClientLogin API
16 // with various capabilities and return results to a GaiaAuthConsumer. 17 // with various capabilities and return results to a GaiaAuthConsumer.
17 // 18 //
18 // In the future, we will also issue auth tokens from this class. 19 // In the future, we will also issue auth tokens from this class.
19 // This class should be used on a single thread, but it can be whichever thread 20 // This class should be used on a single thread, but it can be whichever thread
20 // that you like. 21 // that you like.
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 148
148 friend class GaiaAuthenticator2Test; 149 friend class GaiaAuthenticator2Test;
149 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, LoginNetFailure); 150 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, LoginNetFailure);
150 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, CheckNormalErrorCode); 151 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, CheckNormalErrorCode);
151 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, CheckTwoFactorResponse); 152 FRIEND_TEST_ALL_PREFIXES(GaiaAuthenticator2Test, CheckTwoFactorResponse);
152 153
153 DISALLOW_COPY_AND_ASSIGN(GaiaAuthenticator2); 154 DISALLOW_COPY_AND_ASSIGN(GaiaAuthenticator2);
154 }; 155 };
155 156
156 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_ 157 #endif // CHROME_COMMON_NET_GAIA_GAIA_AUTHENTICATOR2_H_
OLDNEW
« no previous file with comments | « chrome/common/desktop_notifications/active_notification_tracker.cc ('k') | chrome/renderer/gpu_channel_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698