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

Unified Diff: content/browser/renderer_host/database_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/renderer_host/database_message_filter.cc
diff --git a/content/browser/renderer_host/database_message_filter.cc b/content/browser/renderer_host/database_message_filter.cc
index 261019d0171315b009406c9e55e099b9073a9e11..e2660593c0f47d5444e74a6601f119e192e630fc 100644
--- a/content/browser/renderer_host/database_message_filter.cc
+++ b/content/browser/renderer_host/database_message_filter.cc
@@ -41,7 +41,8 @@ const int kDelayDeleteRetryMs = 100;
DatabaseMessageFilter::DatabaseMessageFilter(
webkit_database::DatabaseTracker* db_tracker)
- : db_tracker_(db_tracker),
+ : BrowserMessageFilter(DatabaseMsgStart),
+ db_tracker_(db_tracker),
observer_added_(false) {
DCHECK(db_tracker_.get());
}

Powered by Google App Engine
This is Rietveld 408576698