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

Unified Diff: content/browser/device_orientation/device_orientation_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/device_orientation/device_orientation_message_filter.cc
diff --git a/content/browser/device_orientation/device_orientation_message_filter.cc b/content/browser/device_orientation/device_orientation_message_filter.cc
index d00f2b8ccfdc89b20ec870c6d79f8fbe2994e351..dbbb0ce253508b012823a0b0ff06f625f1e2944b 100644
--- a/content/browser/device_orientation/device_orientation_message_filter.cc
+++ b/content/browser/device_orientation/device_orientation_message_filter.cc
@@ -10,7 +10,8 @@
namespace content {
DeviceOrientationMessageFilter::DeviceOrientationMessageFilter()
- : is_started_(false) {
+ : BrowserMessageFilter(DeviceOrientationMsgStart),
+ is_started_(false) {
}
DeviceOrientationMessageFilter::~DeviceOrientationMessageFilter() {

Powered by Google App Engine
This is Rietveld 408576698