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

Unified Diff: chrome/browser/media/cast_transport_host_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: chrome/browser/media/cast_transport_host_filter.cc
diff --git a/chrome/browser/media/cast_transport_host_filter.cc b/chrome/browser/media/cast_transport_host_filter.cc
index fe5ccacd41a32078a547185cc1627122ad3ff3ae..dda0c50a654f4b21cf187fa818c77f9a85afa9fb 100644
--- a/chrome/browser/media/cast_transport_host_filter.cc
+++ b/chrome/browser/media/cast_transport_host_filter.cc
@@ -7,7 +7,8 @@
namespace cast {
-CastTransportHostFilter::CastTransportHostFilter() {
+CastTransportHostFilter::CastTransportHostFilter()
+ : BrowserMessageFilter(CastMsgStart) {
}
CastTransportHostFilter::~CastTransportHostFilter() {

Powered by Google App Engine
This is Rietveld 408576698