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

Unified Diff: content/child/resource_dispatcher.cc

Issue 184343014: Add service_worker_provider_id param to ResourceHostMsg_Request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index b89aba9b061bb49651ebc47d0327779c36b3c835..27ee44217673c443f712e75902b597ad62ac87cc 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -19,6 +19,7 @@
#include "content/child/site_isolation_policy.h"
#include "content/common/inter_process_time_ticks_converter.h"
#include "content/common/resource_messages.h"
+#include "content/common/service_worker/service_worker_types.h"
#include "content/public/child/resource_dispatcher_delegate.h"
#include "content/public/common/resource_response.h"
#include "net/base/net_errors.h"
@@ -142,6 +143,8 @@ IPCResourceLoaderBridge::IPCResourceLoaderBridge(
extra_data->transferred_request_child_id();
request_.transferred_request_request_id =
extra_data->transferred_request_request_id();
+ request_.service_worker_provider_id =
+ extra_data->service_worker_provider_id();
frame_origin_ = extra_data->frame_origin();
} else {
request_.visiblity_state = blink::WebPageVisibilityStateVisible;
@@ -154,6 +157,7 @@ IPCResourceLoaderBridge::IPCResourceLoaderBridge(
request_.should_replace_current_entry = false;
request_.transferred_request_child_id = -1;
request_.transferred_request_request_id = -1;
+ request_.service_worker_provider_id = kInvalidServiceWorkerProviderId;
}
}
« no previous file with comments | « no previous file | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698