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

Unified Diff: content/browser/service_worker/service_worker_provider_host.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_provider_host.cc
diff --git a/content/browser/service_worker/service_worker_provider_host.cc b/content/browser/service_worker/service_worker_provider_host.cc
index 6a79c56d753730f444f8e027745818d1db8ea1ea..6c81a738ca2da3bc21e44e14a9d1ad6ef631d90e 100644
--- a/content/browser/service_worker/service_worker_provider_host.cc
+++ b/content/browser/service_worker/service_worker_provider_host.cc
@@ -323,15 +323,11 @@ ServiceWorkerProviderHost::CreateRequestHandler(
if (ServiceWorkerUtils::IsMainResourceType(resource_type) ||
controlling_version()) {
return scoped_ptr<ServiceWorkerRequestHandler>(
- new ServiceWorkerControlleeRequestHandler(context_,
- AsWeakPtr(),
- blob_storage_context,
- request_mode,
- credentials_mode,
- resource_type,
- request_context_type,
- frame_type,
- body));
+ new ServiceWorkerControlleeRequestHandler(
+ context_, AsWeakPtr(), blob_storage_context, request_mode,
+ credentials_mode, resource_type, request_context_type, frame_type,
+ GetWindowClientInfoOnUI(render_process_id_, render_frame_id_),
+ body));
}
return scoped_ptr<ServiceWorkerRequestHandler>();
}

Powered by Google App Engine
This is Rietveld 408576698