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

Unified Diff: content/child/npapi/plugin_url_fetcher.cc

Issue 618583003: [ServiceWorker] Set setSkipServiceWorker flag of the request from NPAPI plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/plugin_url_fetcher.cc
diff --git a/content/child/npapi/plugin_url_fetcher.cc b/content/child/npapi/plugin_url_fetcher.cc
index 42617ab894123459a082a7de4b90f18c39b883d5..b0ed299b0f7efcccadb6d38dade7f0cc2edaad9d 100644
--- a/content/child/npapi/plugin_url_fetcher.cc
+++ b/content/child/npapi/plugin_url_fetcher.cc
@@ -114,6 +114,8 @@ PluginURLFetcher::PluginURLFetcher(PluginStreamUrl* plugin_stream,
request_info.requestor_pid = origin_pid;
request_info.request_type = RESOURCE_TYPE_OBJECT;
request_info.routing_id = render_view_id;
+ // ServiceWorker is disabled for NPAPI.
+ request_info.skip_service_worker = true;
RequestExtraData extra_data;
extra_data.set_render_frame_id(render_frame_id);
« no previous file with comments | « no previous file | content/renderer/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698