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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 // time, you can only have one of these objects at a time. | 22 // time, you can only have one of these objects at a time. |
23 class TestNavigationURLLoaderFactory : public NavigationURLLoaderFactory { | 23 class TestNavigationURLLoaderFactory : public NavigationURLLoaderFactory { |
24 public: | 24 public: |
25 TestNavigationURLLoaderFactory(); | 25 TestNavigationURLLoaderFactory(); |
26 ~TestNavigationURLLoaderFactory() override; | 26 ~TestNavigationURLLoaderFactory() override; |
27 | 27 |
28 // TestNavigationURLLoaderFactory implementation. | 28 // TestNavigationURLLoaderFactory implementation. |
29 std::unique_ptr<NavigationURLLoader> CreateLoader( | 29 std::unique_ptr<NavigationURLLoader> CreateLoader( |
30 BrowserContext* browser_context, | 30 BrowserContext* browser_context, |
31 std::unique_ptr<NavigationRequestInfo> request_info, | 31 std::unique_ptr<NavigationRequestInfo> request_info, |
| 32 std::unique_ptr<NavigationUIData> navigation_ui_data, |
32 ServiceWorkerNavigationHandle* service_worker_handle, | 33 ServiceWorkerNavigationHandle* service_worker_handle, |
33 NavigationURLLoaderDelegate* delegate) override; | 34 NavigationURLLoaderDelegate* delegate) override; |
34 | 35 |
35 private: | 36 private: |
36 DISALLOW_COPY_AND_ASSIGN(TestNavigationURLLoaderFactory); | 37 DISALLOW_COPY_AND_ASSIGN(TestNavigationURLLoaderFactory); |
37 }; | 38 }; |
38 | 39 |
39 } // namespace content | 40 } // namespace content |
40 | 41 |
41 #endif // CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_FACTORY_H_ | 42 #endif // CONTENT_TEST_TEST_NAVIGATION_URL_LOADER_FACTORY_H_ |
OLD | NEW |