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

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

Issue 1108273002: Add Client Attribute to FetchEvent- Chromium Side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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_controllee_request_handler.cc
diff --git a/content/browser/service_worker/service_worker_controllee_request_handler.cc b/content/browser/service_worker/service_worker_controllee_request_handler.cc
index 4cf50cdf01f3d79427955374e5dcfb44c1080d45..8202f04a73e3856e0fc022324052fe67644d08c9 100644
--- a/content/browser/service_worker/service_worker_controllee_request_handler.cc
+++ b/content/browser/service_worker/service_worker_controllee_request_handler.cc
@@ -30,6 +30,7 @@ ServiceWorkerControlleeRequestHandler::ServiceWorkerControlleeRequestHandler(
ResourceType resource_type,
RequestContextType request_context_type,
RequestContextFrameType frame_type,
+ const ServiceWorkerClientInfo& client_info,
scoped_refptr<ResourceRequestBody> body)
: ServiceWorkerRequestHandler(context,
provider_host,
@@ -41,6 +42,7 @@ ServiceWorkerControlleeRequestHandler::ServiceWorkerControlleeRequestHandler(
credentials_mode_(credentials_mode),
request_context_type_(request_context_type),
frame_type_(frame_type),
+ client_info_(client_info),
body_(body),
weak_factory_(this) {
}
@@ -90,7 +92,8 @@ net::URLRequestJob* ServiceWorkerControlleeRequestHandler::MaybeCreateJob(
job_ = new ServiceWorkerURLRequestJob(
request, network_delegate, provider_host_, blob_storage_context_,
resource_context, request_mode_, credentials_mode_,
- is_main_resource_load_, request_context_type_, frame_type_, body_);
+ is_main_resource_load_, request_context_type_, frame_type_, client_info_,
+ body_);
resource_context_ = resource_context;
if (is_main_resource_load_)

Powered by Google App Engine
This is Rietveld 408576698