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

Unified Diff: content/browser/renderer_host/media/webrtc_identity_service_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: content/browser/renderer_host/media/webrtc_identity_service_host.cc
diff --git a/content/browser/renderer_host/media/webrtc_identity_service_host.cc b/content/browser/renderer_host/media/webrtc_identity_service_host.cc
index 16f7b6e278ba7bcef8140dbf339fe923b206239e..1c7291e23d62434a60fc7a2939d9f1513501b782 100644
--- a/content/browser/renderer_host/media/webrtc_identity_service_host.cc
+++ b/content/browser/renderer_host/media/webrtc_identity_service_host.cc
@@ -16,7 +16,8 @@ namespace content {
WebRTCIdentityServiceHost::WebRTCIdentityServiceHost(
int renderer_process_id,
scoped_refptr<WebRTCIdentityStore> identity_store)
- : renderer_process_id_(renderer_process_id),
+ : BrowserMessageFilter(WebRTCIdentityMsgStart),
+ renderer_process_id_(renderer_process_id),
identity_store_(identity_store),
weak_factory_(this) {}

Powered by Google App Engine
This is Rietveld 408576698