OLD | NEW |
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 CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_PREWARMER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_PREWARMER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_PREWARMER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_PREWARMER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
10 #include "chromeos/network/network_state_handler_observer.h" | 10 #include "chromeos/network/network_state_handler_observer.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 class URLRequestContextGetter; | 15 class URLRequestContextGetter; |
16 } // namespace net | 16 } // namespace net |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 | 19 |
(...skipping 24 matching lines...) Expand all Loading... |
44 content::NotificationRegistrar registrar_; | 44 content::NotificationRegistrar registrar_; |
45 base::Closure completion_callback_; | 45 base::Closure completion_callback_; |
46 bool doing_prewarm_; | 46 bool doing_prewarm_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(AuthPrewarmer); | 48 DISALLOW_COPY_AND_ASSIGN(AuthPrewarmer); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace chromeos | 51 } // namespace chromeos |
52 | 52 |
53 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_PREWARMER_H_ | 53 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_AUTH_PREWARMER_H_ |
OLD | NEW |