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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host_unittest.cc

Issue 2410333006: Implement ServiceWorkerFetchDispatcher::MaybeStartNavigationPreload(). (Closed)
Patch Set: add comment about switch 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/service_worker_dispatcher_host_unittest.cc
diff --git a/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc b/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc
index 315c6d605f471191687db0519d62ee26bc3157c1..1854ffc6bfec8b394828781415389c655ac0b986 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc
+++ b/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc
@@ -60,7 +60,11 @@ class TestingServiceWorkerDispatcherHost : public ServiceWorkerDispatcherHost {
ServiceWorkerContextWrapper* context_wrapper,
ResourceContext* resource_context,
EmbeddedWorkerTestHelper* helper)
- : ServiceWorkerDispatcherHost(process_id, NULL, resource_context),
+ : ServiceWorkerDispatcherHost(
+ process_id,
+ nullptr,
+ resource_context,
+ ServiceWorkerDispatcherHost::URLLoaderFactoryCallback()),
bad_messages_received_count_(0),
helper_(helper) {
Init(context_wrapper);

Powered by Google App Engine
This is Rietveld 408576698