Chromium Code Reviews| 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..d2f7e558d3d496a21c3b7661c78aa8958e4e6ca1 100644 |
| --- a/content/browser/device_orientation/provider_impl.h |
| +++ b/content/browser/device_orientation/provider_impl.h |
| @@ -33,8 +33,9 @@ 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 AddOrientationObserver(OrientationObserver* observer) OVERRIDE; |
| + virtual void RemoveOrientationObserver( |
| + OrientationObserver* observer) OVERRIDE; |
| private: |
| virtual ~ProviderImpl(); |
| @@ -70,7 +71,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*> orientation_observers_; |
| Orientation last_notification_; |
|
bulach
2012/07/04 15:34:19
nit: last_orientation_
|
| // When polling_thread_ is running, members below are only to be used |