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

Unified Diff: content/renderer/service_worker/service_worker_script_context.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
« no previous file with comments | « content/renderer/cache_storage/cache_storage_dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/service_worker/service_worker_script_context.cc
diff --git a/content/renderer/service_worker/service_worker_script_context.cc b/content/renderer/service_worker/service_worker_script_context.cc
index de32db8ddc38c986363fbf03a1d28e4c4e16b48f..3db66d5eaa1d1ba3ed63fec39d7f8a9d3276caba 100644
--- a/content/renderer/service_worker/service_worker_script_context.cc
+++ b/content/renderer/service_worker/service_worker_script_context.cc
@@ -353,6 +353,7 @@ void ServiceWorkerScriptContext::OnFetchEvent(
GetBlinkRequestContext(request.request_context_type));
webRequest.setFrameType(GetBlinkFrameType(request.frame_type));
webRequest.setIsReload(request.is_reload);
+ webRequest.setClient(ToWebServiceWorkerClientInfo(request.client));
fetch_start_timings_[request_id] = base::TimeTicks::Now();
proxy_->dispatchFetchEvent(request_id, webRequest);
}
« no previous file with comments | « content/renderer/cache_storage/cache_storage_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698