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

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

Issue 165333004: Revert "Allow MessageFilters to restrict listening to specific message classes" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/service_worker_dispatcher_host.cc
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.cc b/content/browser/service_worker/service_worker_dispatcher_host.cc
index 162047ccb9ad4fdd7d11cea917394bd086320027..8710ee96a0911ae54699a8ce2d65b3a50cd51885 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.cc
+++ b/content/browser/service_worker/service_worker_dispatcher_host.cc
@@ -24,20 +24,13 @@ const char kDisabledErrorMessage[] =
const char kDomainMismatchErrorMessage[] =
"Scope and scripts do not have the same origin";
-const uint32 kFilteredMessageClasses[] = {
- ServiceWorkerMsgStart,
- EmbeddedWorkerMsgStart,
-};
-
} // namespace
namespace content {
ServiceWorkerDispatcherHost::ServiceWorkerDispatcherHost(
int render_process_id)
- : BrowserMessageFilter(
- kFilteredMessageClasses, arraysize(kFilteredMessageClasses)),
- render_process_id_(render_process_id) {
+ : render_process_id_(render_process_id) {
}
ServiceWorkerDispatcherHost::~ServiceWorkerDispatcherHost() {
« no previous file with comments | « content/browser/resolve_proxy_msg_helper.cc ('k') | content/browser/shared_worker/shared_worker_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698