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

Unified Diff: content/child/resource_dispatcher_unittest.cc

Issue 183993004: Tease apart ServiceWorkerNetworkProvider from other stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/service_worker/service_worker_network_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher_unittest.cc
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
index 5db4085636cc80e50bd85734c803b95a965a9204..c32bf8fef4c988af6d9a953612fa50207581e5ac 100644
--- a/content/child/resource_dispatcher_unittest.cc
+++ b/content/child/resource_dispatcher_unittest.cc
@@ -12,6 +12,7 @@
#include "content/child/request_extra_data.h"
#include "content/child/resource_dispatcher.h"
#include "content/common/resource_messages.h"
+#include "content/common/service_worker/service_worker_types.h"
#include "content/public/common/resource_response.h"
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
@@ -178,7 +179,8 @@ class ResourceDispatcherTest : public testing::Test, public IPC::Sender {
blink::WebString(),
false, MSG_ROUTING_NONE, true, GURL(),
false, -1, true,
- PAGE_TRANSITION_LINK, false, -1, -1);
+ PAGE_TRANSITION_LINK, false, -1, -1,
+ kInvalidServiceWorkerProviderId);
request_info.extra_data = &extra_data;
return dispatcher_->CreateBridge(request_info);
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/service_worker/service_worker_network_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698