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

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

Issue 164753006: Start of Chrome-side plumbing for ServiceWorker fetch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/embedded_worker_registry.cc
diff --git a/content/browser/service_worker/embedded_worker_registry.cc b/content/browser/service_worker/embedded_worker_registry.cc
index 98fe60862c5971681f23419b8a4e4abfe5314dec..308108e60515ef00dfb1ca3be171b22a3e3c1049 100644
--- a/content/browser/service_worker/embedded_worker_registry.cc
+++ b/content/browser/service_worker/embedded_worker_registry.cc
@@ -79,6 +79,7 @@ void EmbeddedWorkerRegistry::OnSendMessageToBrowser(
// Perform security check to filter out any unexpected (and non-test)
// messages. This must list up all message types that can go through here.
if (message.type() == ServiceWorkerHostMsg_InstallEventFinished::ID ||
+ message.type() == ServiceWorkerHostMsg_FetchEventFinished::ID ||
IPC_MESSAGE_CLASS(message) == TestMsgStart) {
found->second->OnMessageReceived(request_id, message);
return;

Powered by Google App Engine
This is Rietveld 408576698