| 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..a6affe2f8ac201134ed9b9c553e6b87eff12e84b 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;
|
|
|
| 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
|
|
|