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

Side by Side Diff: chromeos/login/auth/online_attempt.h

Issue 1100773004: base: Remove most uses of MessageLoopProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added some missing includes. Created 5 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ 5 #ifndef CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_
6 #define CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ 6 #define CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "chromeos/chromeos_export.h" 15 #include "chromeos/chromeos_export.h"
16 #include "chromeos/login/auth/auth_status_consumer.h" 16 #include "chromeos/login/auth/auth_status_consumer.h"
17 #include "google_apis/gaia/gaia_auth_consumer.h" 17 #include "google_apis/gaia/gaia_auth_consumer.h"
18 #include "google_apis/gaia/google_service_auth_error.h" 18 #include "google_apis/gaia/google_service_auth_error.h"
19 19
20 class GaiaAuthFetcher; 20 class GaiaAuthFetcher;
21 21
22 namespace base {
23 // TODO(skyostil): Migrate to SingleThreadTaskRunner (crbug.com/465354).
24 class MessageLoopProxy;
25 }
26
22 namespace net { 27 namespace net {
23 class URLRequestContextGetter; 28 class URLRequestContextGetter;
24 } 29 }
25 30
26 namespace chromeos { 31 namespace chromeos {
27 class AuthAttemptState; 32 class AuthAttemptState;
28 class AuthAttemptStateResolver; 33 class AuthAttemptStateResolver;
29 34
30 class CHROMEOS_EXPORT OnlineAttempt : public GaiaAuthConsumer { 35 class CHROMEOS_EXPORT OnlineAttempt : public GaiaAuthConsumer {
31 public: 36 public:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Used to cancel the CancelClientLogin closure. 78 // Used to cancel the CancelClientLogin closure.
74 base::WeakPtrFactory<OnlineAttempt> weak_factory_; 79 base::WeakPtrFactory<OnlineAttempt> weak_factory_;
75 80
76 friend class OnlineAttemptTest; 81 friend class OnlineAttemptTest;
77 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt); 82 DISALLOW_COPY_AND_ASSIGN(OnlineAttempt);
78 }; 83 };
79 84
80 } // namespace chromeos 85 } // namespace chromeos
81 86
82 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_ 87 #endif // CHROMEOS_LOGIN_AUTH_ONLINE_ATTEMPT_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/profile_pref_store_manager.cc ('k') | chromeos/login/auth/online_attempt_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698