MockLocationProvider 13 android_webview/javatests/src/org/chromium/android_webview/test/GeolocationTest.java import org.chromium.content.browser.test.util.MockLocationProvider; MockLocationProvider 25 android_webview/javatests/src/org/chromium/android_webview/test/GeolocationTest.java private MockLocationProvider mMockLocationProvider; MockLocationProvider 80 android_webview/javatests/src/org/chromium/android_webview/test/GeolocationTest.java mMockLocationProvider = new MockLocationProvider(); MockLocationProvider 45 content/browser/geolocation/location_arbitrator_impl_unittest.cc void SetPositionFix(MockLocationProvider* provider, MockLocationProvider 59 content/browser/geolocation/location_arbitrator_impl_unittest.cc void SetReferencePosition(MockLocationProvider* provider) { MockLocationProvider 89 content/browser/geolocation/location_arbitrator_impl_unittest.cc return new MockLocationProvider(&cell_); MockLocationProvider 93 content/browser/geolocation/location_arbitrator_impl_unittest.cc return new MockLocationProvider(&gps_); MockLocationProvider 100 content/browser/geolocation/location_arbitrator_impl_unittest.cc MockLocationProvider* cell_; MockLocationProvider 101 content/browser/geolocation/location_arbitrator_impl_unittest.cc MockLocationProvider* gps_; MockLocationProvider 140 content/browser/geolocation/location_arbitrator_impl_unittest.cc MockLocationProvider* cell() { MockLocationProvider 144 content/browser/geolocation/location_arbitrator_impl_unittest.cc MockLocationProvider* gps() { MockLocationProvider 185 content/browser/geolocation/location_arbitrator_impl_unittest.cc EXPECT_EQ(MockLocationProvider::LOW_ACCURACY, cell()->state_); MockLocationProvider 186 content/browser/geolocation/location_arbitrator_impl_unittest.cc EXPECT_EQ(MockLocationProvider::LOW_ACCURACY, gps()->state_); MockLocationProvider 211 content/browser/geolocation/location_arbitrator_impl_unittest.cc EXPECT_EQ(MockLocationProvider::LOW_ACCURACY, cell()->state_); MockLocationProvider 212 content/browser/geolocation/location_arbitrator_impl_unittest.cc EXPECT_EQ(MockLocationProvider::LOW_ACCURACY, gps()->state_); MockLocationProvider 214 content/browser/geolocation/location_arbitrator_impl_unittest.cc EXPECT_EQ(MockLocationProvider::LOW_ACCURACY, cell()->state_); MockLocationProvider 215 content/browser/geolocation/location_arbitrator_impl_unittest.cc EXPECT_EQ(MockLocationProvider::LOW_ACCURACY, gps()->state_); MockLocationProvider 217 content/browser/geolocation/location_arbitrator_impl_unittest.cc EXPECT_EQ(MockLocationProvider::HIGH_ACCURACY, cell()->state_); MockLocationProvider 218 content/browser/geolocation/location_arbitrator_impl_unittest.cc EXPECT_EQ(MockLocationProvider::HIGH_ACCURACY, gps()->state_); MockLocationProvider 312 content/browser/geolocation/location_arbitrator_impl_unittest.cc MockLocationProvider* fakeMockProvider = NULL; MockLocationProvider 314 content/browser/geolocation/location_arbitrator_impl_unittest.cc new MockLocationProvider(&fakeMockProvider); MockLocationProvider 19 content/browser/geolocation/mock_location_provider.cc MockLocationProvider* MockLocationProvider::instance_ = NULL; MockLocationProvider 21 content/browser/geolocation/mock_location_provider.cc MockLocationProvider::MockLocationProvider(MockLocationProvider** self_ref) MockLocationProvider 31 content/browser/geolocation/mock_location_provider.cc MockLocationProvider::~MockLocationProvider() { MockLocationProvider 36 content/browser/geolocation/mock_location_provider.cc void MockLocationProvider::HandlePositionChanged(const Geoposition& position) { MockLocationProvider 45 content/browser/geolocation/mock_location_provider.cc base::Bind(&MockLocationProvider::HandlePositionChanged, MockLocationProvider 50 content/browser/geolocation/mock_location_provider.cc bool MockLocationProvider::StartProvider(bool high_accuracy) { MockLocationProvider 55 content/browser/geolocation/mock_location_provider.cc void MockLocationProvider::StopProvider() { MockLocationProvider 59 content/browser/geolocation/mock_location_provider.cc void MockLocationProvider::GetPosition(Geoposition* position) { MockLocationProvider 63 content/browser/geolocation/mock_location_provider.cc void MockLocationProvider::OnPermissionGranted() { MockLocationProvider 70 content/browser/geolocation/mock_location_provider.cc class AutoMockLocationProvider : public MockLocationProvider { MockLocationProvider 74 content/browser/geolocation/mock_location_provider.cc : MockLocationProvider(&instance_), MockLocationProvider 90 content/browser/geolocation/mock_location_provider.cc MockLocationProvider::StartProvider(high_accuracy); MockLocationProvider 98 content/browser/geolocation/mock_location_provider.cc MockLocationProvider::OnPermissionGranted(); MockLocationProvider 109 content/browser/geolocation/mock_location_provider.cc base::Bind(&MockLocationProvider::HandlePositionChanged, MockLocationProvider 115 content/browser/geolocation/mock_location_provider.cc base::WeakPtrFactory<MockLocationProvider> weak_factory_; MockLocationProvider 121 content/browser/geolocation/mock_location_provider.cc return new MockLocationProvider(&MockLocationProvider::instance_); MockLocationProvider 18 content/browser/geolocation/mock_location_provider.h class MockLocationProvider : public LocationProviderBase { MockLocationProvider 22 content/browser/geolocation/mock_location_provider.h explicit MockLocationProvider(MockLocationProvider** self_ref); MockLocationProvider 23 content/browser/geolocation/mock_location_provider.h virtual ~MockLocationProvider(); MockLocationProvider 37 content/browser/geolocation/mock_location_provider.h MockLocationProvider** self_ref_; MockLocationProvider 42 content/browser/geolocation/mock_location_provider.h static MockLocationProvider* instance_; MockLocationProvider 44 content/browser/geolocation/mock_location_provider.h DISALLOW_COPY_AND_ASSIGN(MockLocationProvider); MockLocationProvider 12 content/public/android/javatests/src/org/chromium/content/browser/ContentViewLocationTest.java import org.chromium.content.browser.test.util.MockLocationProvider; MockLocationProvider 25 content/public/android/javatests/src/org/chromium/content/browser/ContentViewLocationTest.java private MockLocationProvider mMockLocationProvider; MockLocationProvider 84 content/public/android/javatests/src/org/chromium/content/browser/ContentViewLocationTest.java mMockLocationProvider = new MockLocationProvider();