1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_LIGHT_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_LIGHT_MESSAGE_FILTER_H_
8 #include "content/public/browser/browser_message_filter.h"
12 class DeviceLightMessageFilter : public BrowserMessageFilter {
14 DeviceLightMessageFilter();
16 // BrowserMessageFilter implementation.
17 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
20 virtual ~DeviceLightMessageFilter();
22 void OnDeviceLightStartPolling();
23 void OnDeviceLightStopPolling();
24 void DidStartDeviceLightPolling();
28 DISALLOW_COPY_AND_ASSIGN(DeviceLightMessageFilter);
31 } // namespace content
33 #endif // CONTENT_BROWSER_DEVICE_SENSORS_DEVICE_LIGHT_MESSAGE_FILTER_H_