| Index: content/browser/geolocation/mock_location_provider.cc
|
| diff --git a/content/browser/geolocation/mock_location_provider.cc b/content/browser/geolocation/mock_location_provider.cc
|
| index fc9abd3c6972e99645e851d294d863425d9b8b3b..35109efb6d51ec46ea93383cf9bd1bd48034c3bc 100644
|
| --- a/content/browser/geolocation/mock_location_provider.cc
|
| +++ b/content/browser/geolocation/mock_location_provider.cc
|
| @@ -32,7 +32,8 @@ MockLocationProvider::~MockLocationProvider() {
|
| *self_ref_ = NULL;
|
| }
|
|
|
| -void MockLocationProvider::HandlePositionChanged(const Geoposition& position) {
|
| +void MockLocationProvider::HandlePositionChanged(
|
| + const content::Geoposition& position) {
|
| if (provider_loop_->BelongsToCurrentThread()) {
|
| // The location arbitrator unit tests rely on this method running
|
| // synchronously.
|
| @@ -55,7 +56,7 @@ void MockLocationProvider::StopProvider() {
|
| state_ = STOPPED;
|
| }
|
|
|
| -void MockLocationProvider::GetPosition(Geoposition* position) {
|
| +void MockLocationProvider::GetPosition(content::Geoposition* position) {
|
| *position = position_;
|
| }
|
|
|
| @@ -82,7 +83,8 @@ class AutoMockLocationProvider : public MockLocationProvider {
|
| // contemporary.
|
| position_.timestamp = base::Time::Now();
|
| } else {
|
| - position_.error_code = Geoposition::ERROR_CODE_POSITION_UNAVAILABLE;
|
| + position_.error_code =
|
| + content::Geoposition::ERROR_CODE_POSITION_UNAVAILABLE;
|
| }
|
| }
|
| virtual bool StartProvider(bool high_accuracy) {
|
|
|