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 CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_FACTORY_H_ | 5 #ifndef CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_FACTORY_H_ |
6 #define CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_FACTORY_H_ | 6 #define CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_FACTORY_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "content/browser/loader/navigation_url_loader_factory.h" | 10 #include "content/browser/loader/navigation_url_loader_factory.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 class NavigationURLLoader; | 14 class NavigationURLLoader; |
14 | 15 |
15 // PlzNavigate | 16 // PlzNavigate |
16 // Manages creation of the NavigationURLLoaders; when registered, all created | 17 // Manages creation of the NavigationURLLoaders; when registered, all created |
17 // NavigationURLLoaderss will be TestNavigationURLLoaderss. This automatically | 18 // NavigationURLLoaderss will be TestNavigationURLLoaderss. This automatically |
(...skipping 12 matching lines...) Expand all Loading... |
30 ServiceWorkerNavigationHandle* service_worker_handle, | 31 ServiceWorkerNavigationHandle* service_worker_handle, |
31 NavigationURLLoaderDelegate* delegate) override; | 32 NavigationURLLoaderDelegate* delegate) override; |
32 | 33 |
33 private: | 34 private: |
34 DISALLOW_COPY_AND_ASSIGN(TestNavigationURLLoaderFactory); | 35 DISALLOW_COPY_AND_ASSIGN(TestNavigationURLLoaderFactory); |
35 }; | 36 }; |
36 | 37 |
37 } // namespace content | 38 } // namespace content |
38 | 39 |
39 #endif // CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_FACTORY_H_ | 40 #endif // CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_FACTORY_H_ |
OLD | NEW |