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

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

Issue 5676004: Cleanup: Remove unneeded browser_thread.h usage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 10 years 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) 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_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/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "chrome/browser/browser_thread.h"
15 #include "chrome/browser/chromeos/login/login_status_consumer.h" 14 #include "chrome/browser/chromeos/login/login_status_consumer.h"
16 #include "chrome/common/net/gaia/gaia_auth_consumer.h" 15 #include "chrome/common/net/gaia/gaia_auth_consumer.h"
17 #include "chrome/common/net/gaia/google_service_auth_error.h" 16 #include "chrome/common/net/gaia/google_service_auth_error.h"
18 17
18 class CancelableTask;
19 class GaiaAuthFetcher; 19 class GaiaAuthFetcher;
20 class Profile; 20 class Profile;
21 21
22 namespace chromeos { 22 namespace chromeos {
23 class AuthAttemptState; 23 class AuthAttemptState;
24 class AuthAttemptStateResolver; 24 class AuthAttemptStateResolver;
25 25
26 class OnlineAttempt 26 class OnlineAttempt
27 : public base::RefCountedThreadSafe<OnlineAttempt>, 27 : public base::RefCountedThreadSafe<OnlineAttempt>,
28 public GaiaAuthConsumer { 28 public GaiaAuthConsumer {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 // Whether we're willing to re-try the ClientLogin attempt. 62 // Whether we're willing to re-try the ClientLogin attempt.
63 bool try_again_; 63 bool try_again_;
64 64
65 friend class OnlineAttemptTest; 65 friend class OnlineAttemptTest;
66 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); 66 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt);
67 }; 67 };
68 68
69 } // namespace chromeos 69 } // namespace chromeos
70 70
71 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_ 71 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ONLINE_ATTEMPT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698