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

Unified Diff: chrome/browser/media/webrtc_logging_handler_host.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/webrtc_logging_handler_host.cc
diff --git a/chrome/browser/media/webrtc_logging_handler_host.cc b/chrome/browser/media/webrtc_logging_handler_host.cc
index d01522498be794429205a0e2bae3fce144f020f7..5edc9a69d0db72147dcd4cc180c6d5d416eb1ba3 100644
--- a/chrome/browser/media/webrtc_logging_handler_host.cc
+++ b/chrome/browser/media/webrtc_logging_handler_host.cc
@@ -109,7 +109,8 @@ void FormatMetaDataAsLogMessage(
} // namespace
WebRtcLoggingHandlerHost::WebRtcLoggingHandlerHost(Profile* profile)
- : profile_(profile),
+ : BrowserMessageFilter(WebRtcLoggingMsgStart),
+ profile_(profile),
logging_state_(CLOSED),
upload_log_on_render_close_(false) {
DCHECK(profile_);
« no previous file with comments | « chrome/browser/media/encrypted_media_message_filter_android.cc ('k') | chrome/browser/plugins/plugin_info_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698