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

Side by Side Diff: chrome/browser/chromeos/login/oauth_login_verifier.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_CHROMEOS_LOGIN_OAUTH_LOGIN_VERIFIER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH_LOGIN_VERIFIER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH_LOGIN_VERIFIER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH_LOGIN_VERIFIER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "chrome/browser/net/gaia/gaia_oauth_consumer.h" 13 #include "chrome/browser/net/gaia/gaia_oauth_consumer.h"
14 #include "chrome/browser/net/gaia/gaia_oauth_fetcher.h" 14 #include "chrome/browser/net/gaia/gaia_oauth_fetcher.h"
15 #include "chrome/common/net/gaia/gaia_auth_consumer.h" 15 #include "google_apis/gaia/gaia_auth_consumer.h"
16 #include "chrome/common/net/gaia/gaia_auth_fetcher.h" 16 #include "google_apis/gaia/gaia_auth_fetcher.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace chromeos { 20 namespace chromeos {
21 21
22 // Verifies OAuth1 access token by performing OAuthLogin. Fetches user cookies 22 // Verifies OAuth1 access token by performing OAuthLogin. Fetches user cookies
23 // on successful OAuth authentication. 23 // on successful OAuth authentication.
24 class OAuthLoginVerifier : public base::SupportsWeakPtr<OAuthLoginVerifier>, 24 class OAuthLoginVerifier : public base::SupportsWeakPtr<OAuthLoginVerifier>,
25 public GaiaOAuthConsumer, 25 public GaiaOAuthConsumer,
26 public GaiaAuthConsumer { 26 public GaiaAuthConsumer {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 Profile* user_profile_; 97 Profile* user_profile_;
98 int verification_count_; 98 int verification_count_;
99 VerificationStep step_; 99 VerificationStep step_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(OAuthLoginVerifier); 101 DISALLOW_COPY_AND_ASSIGN(OAuthLoginVerifier);
102 }; 102 };
103 103
104 } // namespace chromeos 104 } // namespace chromeos
105 105
106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH_LOGIN_VERIFIER_H_ 106 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OAUTH_LOGIN_VERIFIER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/oauth1_token_fetcher.cc ('k') | chrome/browser/chromeos/login/oauth_login_verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698