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

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
Index: content/child/resource_dispatcher_unittest.cc
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
index 320564fbb23ce752be90d143220d576833b73700..51c07bd86a3d9cdcdee74bef40ca5c8252c972e5 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);

Powered by Google App Engine
This is Rietveld 408576698