Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
diff --git a/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc b/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
index 1e944c6219695f68767316020fc583116f1a4bda..68f1a57d4e372c75ba4e4d8f4c89d70a24932908 100644
--- a/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
+++ b/blimp/engine/feature/geolocation/blimp_location_provider_unittest.cc
@@ -31,11 +31,11 @@ class BlimpLocationProviderTest : public testing::Test {
void SetUp() override {}
MOCK_METHOD2(OnLocationUpdate,
- void(const device::LocationProvider* provider,
- const device::Geoposition& geoposition));
+ void(const content::LocationProvider* provider,
+ const content::Geoposition& geoposition));
protected:
- device::LocationProvider::LocationProviderUpdateCallback mock_callback_;
+ content::LocationProvider::LocationProviderUpdateCallback mock_callback_;
std::unique_ptr<MockBlimpLocationProviderDelegate> delegate_;
std::unique_ptr<BlimpLocationProvider> location_provider_;
@@ -137,12 +137,12 @@ TEST_F(BlimpLocationProviderTest, OnPermissionGrantedHandlesNullDelegate) {
}
TEST_F(BlimpLocationProviderTest, SetUpdateCallbackPropagatesCallback) {
- base::Callback<void(const device::Geoposition&)> callback;
+ base::Callback<void(const content::Geoposition&)> callback;
EXPECT_CALL(*delegate_, SetUpdateCallback(_)).WillOnce(SaveArg<0>(&callback));
EXPECT_CALL(*this, OnLocationUpdate(location_provider_.get(), _)).Times(1);
location_provider_->SetUpdateCallback(mock_callback_);
- callback.Run(device::Geoposition());
+ callback.Run(content::Geoposition());
}
TEST_F(BlimpLocationProviderTest, SetUpdateCallbackHandlesNullDelegate) {

Powered by Google App Engine
This is Rietveld 408576698