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

Unified Diff: content/browser/dom_storage/dom_storage_message_filter.cc

Issue 142923005: Allow MessageFilters to restrict listening to specific message classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/dom_storage/dom_storage_message_filter.cc
diff --git a/content/browser/dom_storage/dom_storage_message_filter.cc b/content/browser/dom_storage/dom_storage_message_filter.cc
index 204aa8cb8767952f41ef8224ce42b15aaed4a8bc..282b71d94dde5853332981f52b31544d64071bc7 100644
--- a/content/browser/dom_storage/dom_storage_message_filter.cc
+++ b/content/browser/dom_storage/dom_storage_message_filter.cc
@@ -23,7 +23,8 @@ namespace content {
DOMStorageMessageFilter::DOMStorageMessageFilter(
int render_process_id,
DOMStorageContextWrapper* context)
- : render_process_id_(render_process_id),
+ : BrowserMessageFilter(DOMStorageMsgStart),
+ render_process_id_(render_process_id),
context_(context->context()),
connection_dispatching_message_for_(0) {
}
« no previous file with comments | « content/browser/devtools/worker_devtools_message_filter.cc ('k') | content/browser/fileapi/fileapi_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698