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

Unified Diff: content/browser/renderer_host/gamepad_browser_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/gamepad_browser_message_filter.cc
diff --git a/content/browser/renderer_host/gamepad_browser_message_filter.cc b/content/browser/renderer_host/gamepad_browser_message_filter.cc
index 6b5972e5a0af5c99d147919d022c3abe6456ce1d..cd36e6ac5e8f6632bd57b8e106a5036e92894b52 100644
--- a/content/browser/renderer_host/gamepad_browser_message_filter.cc
+++ b/content/browser/renderer_host/gamepad_browser_message_filter.cc
@@ -10,7 +10,8 @@
namespace content {
GamepadBrowserMessageFilter::GamepadBrowserMessageFilter()
- : is_started_(false) {
+ : BrowserMessageFilter(GamepadMsgStart),
+ is_started_(false) {
}
GamepadBrowserMessageFilter::~GamepadBrowserMessageFilter() {
« no previous file with comments | « content/browser/renderer_host/file_utilities_message_filter.cc ('k') | content/browser/renderer_host/gpu_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698