| Index: device/geolocation/geolocation_provider_impl_unittest.cc
|
| diff --git a/device/geolocation/geolocation_provider_impl_unittest.cc b/device/geolocation/geolocation_provider_impl_unittest.cc
|
| index e84bc74c4d3b07418127502985c534a25af747d6..9defbddcd0919d5e8ce5a6ff0ffa8c312c818ea6 100644
|
| --- a/device/geolocation/geolocation_provider_impl_unittest.cc
|
| +++ b/device/geolocation/geolocation_provider_impl_unittest.cc
|
| @@ -18,7 +18,7 @@
|
| #include "base/strings/string16.h"
|
| #include "base/time/time.h"
|
| #include "device/geolocation/access_token_store.h"
|
| -#include "device/geolocation/mock_location_provider.h"
|
| +#include "device/geolocation/fake_location_provider.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -97,7 +97,7 @@ void DummyFunction(const Geoposition& position) {}
|
|
|
| class GeolocationProviderTest : public testing::Test {
|
| protected:
|
| - GeolocationProviderTest() : arbitrator_(new MockLocationProvider) {
|
| + GeolocationProviderTest() : arbitrator_(new FakeLocationProvider) {
|
| provider()->SetArbitratorForTesting(base::WrapUnique(arbitrator_));
|
| }
|
|
|
| @@ -107,7 +107,7 @@ class GeolocationProviderTest : public testing::Test {
|
| return GeolocationProviderImpl::GetInstance();
|
| }
|
|
|
| - MockLocationProvider* arbitrator() { return arbitrator_; }
|
| + FakeLocationProvider* arbitrator() { return arbitrator_; }
|
|
|
| // Called on test thread.
|
| bool ProvidersStarted();
|
| @@ -125,7 +125,7 @@ class GeolocationProviderTest : public testing::Test {
|
| base::MessageLoopForUI message_loop_;
|
|
|
| // Owned by the GeolocationProviderImpl class.
|
| - MockLocationProvider* arbitrator_;
|
| + FakeLocationProvider* arbitrator_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GeolocationProviderTest);
|
| };
|
|
|