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

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

Issue 8538002: Cleanup: Remove unneeded forward declarations from chrome/browser/chromeos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix a small nit Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 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 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_ONLINE_ATTEMPT_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "chrome/browser/chromeos/login/login_status_consumer.h" 16 #include "chrome/browser/chromeos/login/login_status_consumer.h"
17 #include "chrome/browser/net/gaia/gaia_oauth_consumer.h" 17 #include "chrome/browser/net/gaia/gaia_oauth_consumer.h"
18 #include "chrome/browser/net/gaia/gaia_oauth_fetcher.h" 18 #include "chrome/browser/net/gaia/gaia_oauth_fetcher.h"
19 #include "chrome/common/net/gaia/gaia_auth_consumer.h" 19 #include "chrome/common/net/gaia/gaia_auth_consumer.h"
20 #include "chrome/common/net/gaia/google_service_auth_error.h" 20 #include "chrome/common/net/gaia/google_service_auth_error.h"
21 21
22 class CancelableTask;
23 class GaiaAuthFetcher; 22 class GaiaAuthFetcher;
24 class Profile; 23 class Profile;
25 24
26 namespace net {
27 class URLRequestContextGetter;
28 }
29
30 namespace chromeos { 25 namespace chromeos {
31 class AuthAttemptState; 26 class AuthAttemptState;
32 class AuthAttemptStateResolver; 27 class AuthAttemptStateResolver;
33 28
34 class OnlineAttempt 29 class OnlineAttempt
35 : public base::RefCountedThreadSafe<OnlineAttempt>, 30 : public base::RefCountedThreadSafe<OnlineAttempt>,
36 public GaiaAuthConsumer, 31 public GaiaAuthConsumer,
37 public GaiaOAuthConsumer { 32 public GaiaOAuthConsumer {
38 public: 33 public:
39 OnlineAttempt(bool using_oauth, 34 OnlineAttempt(bool using_oauth,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Whether we're willing to re-try the ClientLogin attempt. 85 // Whether we're willing to re-try the ClientLogin attempt.
91 bool try_again_; 86 bool try_again_;
92 87
93 friend class OnlineAttemptTest; 88 friend class OnlineAttemptTest;
94 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); 89 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt);
95 }; 90 };
96 91
97 } // namespace chromeos 92 } // namespace chromeos
98 93
99 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_ 94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/language_switch_menu.h ('k') | chrome/browser/chromeos/login/oobe_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698