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

Unified Diff: device/geolocation/network_location_provider_unittest.cc

Issue 2249283003: Hooks together Geolocation Feature in the Client and Engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lai
Patch Set: Put TestingLocationArbitrator out of anonymous namespace. Created 4 years, 3 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
« no previous file with comments | « device/geolocation/mock_location_provider.h ('k') | device/geolocation/network_location_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/network_location_provider_unittest.cc
diff --git a/device/geolocation/network_location_provider_unittest.cc b/device/geolocation/network_location_provider_unittest.cc
index ebdbbf9445801f18f524b6ec5aa73a5a0ac43681..2d0d754af028bbd3db253a0d65e14738f58584c4 100644
--- a/device/geolocation/network_location_provider_unittest.cc
+++ b/device/geolocation/network_location_provider_unittest.cc
@@ -21,7 +21,7 @@
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "device/geolocation/fake_access_token_store.h"
-#include "device/geolocation/location_arbitrator_impl.h"
+#include "device/geolocation/location_arbitrator.h"
#include "device/geolocation/wifi_data_provider.h"
#include "net/base/net_errors.h"
#include "net/url_request/test_url_fetcher_factory.h"
@@ -263,7 +263,7 @@ class GeolocationNetworkProviderTest : public testing::Test {
// network provider url.
bool is_default_url =
UrlWithoutQuery(request_url) ==
- UrlWithoutQuery(LocationArbitratorImpl::DefaultNetworkProviderURL());
+ UrlWithoutQuery(LocationArbitrator::DefaultNetworkProviderURL());
EXPECT_EQ(is_default_url, !request_url.query().empty());
const std::string& upload_data = request.upload_data();
@@ -341,7 +341,7 @@ TEST_F(GeolocationNetworkProviderTest, StartProvider) {
}
TEST_F(GeolocationNetworkProviderTest, StartProviderDefaultUrl) {
- test_server_url_ = LocationArbitratorImpl::DefaultNetworkProviderURL();
+ test_server_url_ = LocationArbitrator::DefaultNetworkProviderURL();
std::unique_ptr<LocationProvider> provider(CreateProvider(true));
EXPECT_TRUE(provider->StartProvider(false));
net::TestURLFetcher* fetcher = get_url_fetcher_and_advance_id();
« no previous file with comments | « device/geolocation/mock_location_provider.h ('k') | device/geolocation/network_location_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698