OLD | NEW |
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 COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_ | 5 #ifndef COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_ |
6 #define COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_ | 6 #define COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "components/captive_portal/captive_portal_detector.h" | 11 #include "components/captive_portal/captive_portal_detector.h" |
12 #include "net/url_request/test_url_fetcher_factory.h" | 12 #include "net/url_request/test_url_fetcher_factory.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 class Time; | 15 class Time; |
16 } | 16 } |
17 | 17 |
18 namespace captive_portal { | 18 namespace captive_portal { |
19 | 19 |
20 class CaptivePortalDetectorTestBase { | 20 class CaptivePortalDetectorTestBase { |
(...skipping 24 matching lines...) Expand all Loading... |
45 CaptivePortalDetector* detector_; | 45 CaptivePortalDetector* detector_; |
46 | 46 |
47 net::TestURLFetcherFactory factory_; | 47 net::TestURLFetcherFactory factory_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(CaptivePortalDetectorTestBase); | 49 DISALLOW_COPY_AND_ASSIGN(CaptivePortalDetectorTestBase); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace captive_portal | 52 } // namespace captive_portal |
53 | 53 |
54 #endif // COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_ | 54 #endif // COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_ |
OLD | NEW |