Index: content/browser/device_orientation/provider_impl.h |
diff --git a/content/browser/device_orientation/provider_impl.h b/content/browser/device_orientation/provider_impl.h |
index c7c12eb4dce6651e6dc315caa3a91e08a239ffd5..49e949b798e2938d243a9307075c4c8c9d9d24eb 100644 |
--- a/content/browser/device_orientation/provider_impl.h |
+++ b/content/browser/device_orientation/provider_impl.h |
@@ -33,8 +33,15 @@ class ProviderImpl : public Provider { |
CONTENT_EXPORT ProviderImpl(const DataFetcherFactory factories[]); |
// From Provider. |
- virtual void AddObserver(Observer* observer) OVERRIDE; |
- virtual void RemoveObserver(Observer* observer) OVERRIDE; |
+ virtual void AddMotionObserver(MotionObserver* observer) OVERRIDE { |
+ // TODO(aousterh): implement this |
+ } |
+ virtual void AddOrientationObserver(OrientationObserver* observer) OVERRIDE; |
+ virtual void RemoveMotionObserver(MotionObserver* observer) OVERRIDE { |
+ // TODO(aousterh): implement this |
+ } |
+ virtual void RemoveOrientationObserver( |
+ OrientationObserver* observer) OVERRIDE; |
bulach
2012/07/02 12:47:56
nit: indent +2
aousterh
2012/07/04 13:31:55
Done.
|
private: |
virtual ~ProviderImpl(); |
@@ -70,7 +77,7 @@ class ProviderImpl : public Provider { |
// Members below are only to be used from the creator_loop_. |
std::vector<DataFetcherFactory> factories_; |
- std::set<Observer*> observers_; |
+ std::set<OrientationObserver*> observers_; |
Orientation last_notification_; |
// When polling_thread_ is running, members below are only to be used |