| Index: content/browser/device_orientation/provider_impl.cc
|
| diff --git a/content/browser/device_orientation/provider_impl.cc b/content/browser/device_orientation/provider_impl.cc
|
| index b27421c4a513e14c46fce48d0fda95a881c399af..df6cd9ecef296f8ed236ccea5ec9a4d73c080195 100644
|
| --- a/content/browser/device_orientation/provider_impl.cc
|
| +++ b/content/browser/device_orientation/provider_impl.cc
|
| @@ -26,7 +26,7 @@ ProviderImpl::ProviderImpl(const DataFetcherFactory factories[])
|
| ProviderImpl::~ProviderImpl() {
|
| }
|
|
|
| -void ProviderImpl::AddObserver(Observer* observer) {
|
| +void ProviderImpl::AddOrientationObserver(OrientationObserver* observer) {
|
| DCHECK(MessageLoop::current() == creator_loop_);
|
|
|
| observers_.insert(observer);
|
| @@ -36,7 +36,7 @@ void ProviderImpl::AddObserver(Observer* observer) {
|
| observer->OnOrientationUpdate(last_notification_);
|
| }
|
|
|
| -void ProviderImpl::RemoveObserver(Observer* observer) {
|
| +void ProviderImpl::RemoveOrientationObserver(OrientationObserver* observer) {
|
| DCHECK(MessageLoop::current() == creator_loop_);
|
|
|
| observers_.erase(observer);
|
| @@ -111,7 +111,7 @@ void ProviderImpl::DoNotify(const Orientation& orientation) {
|
|
|
| last_notification_ = orientation;
|
|
|
| - typedef std::set<Observer*>::const_iterator Iterator;
|
| + typedef std::set<OrientationObserver*>::const_iterator Iterator;
|
| for (Iterator i = observers_.begin(), e = observers_.end(); i != e; ++i)
|
| (*i)->OnOrientationUpdate(orientation);
|
|
|
|
|