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

Side by Side Diff: content/test/test_navigation_url_loader_factory.h

Issue 2335133003: PlzNavigate: support the WebRequest API (Closed)
Patch Set: Rebase + addressed nit Created 4 years, 2 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 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
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_
OLDNEW
« no previous file with comments | « content/public/browser/resource_request_info.h ('k') | content/test/test_navigation_url_loader_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698