Index: content/browser/device_orientation/orientation_message_filter.h |
diff --git a/content/browser/device_orientation/orientation_message_filter.h b/content/browser/device_orientation/orientation_message_filter.h |
index 1adf780859b1aa9ce6ce16c5f3a8f58c7f17fc90..736642260a19f8701a0e7c43b1113c6b6c23829e 100644 |
--- a/content/browser/device_orientation/orientation_message_filter.h |
+++ b/content/browser/device_orientation/orientation_message_filter.h |
@@ -7,12 +7,11 @@ |
#include <map> |
-#include "content/browser/device_orientation/provider.h" |
-#include "content/public/browser/browser_message_filter.h" |
+#include "content/browser/device_orientation/message_filter.h" |
namespace device_orientation { |
-class OrientationMessageFilter : public content::BrowserMessageFilter { |
+class OrientationMessageFilter : public MessageFilter { |
public: |
OrientationMessageFilter(); |
@@ -23,17 +22,6 @@ class OrientationMessageFilter : public content::BrowserMessageFilter { |
private: |
virtual ~OrientationMessageFilter(); |
- void OnStartUpdating(int render_view_id); |
- void OnStopUpdating(int render_view_id); |
- |
- // Helper class that observes a Provider and forwards updates to a RenderView. |
- class ObserverDelegate; |
- |
- // map from render_view_id to ObserverDelegate. |
- std::map<int, scoped_refptr<ObserverDelegate> > observers_map_; |
- |
- scoped_refptr<Provider> provider_; |
- |
DISALLOW_COPY_AND_ASSIGN(OrientationMessageFilter); |
}; |