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

Unified Diff: device/geolocation/wifi_data_provider_chromeos_unittest.cc

Issue 2192683002: Reland 2:Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ignore size_t_to_int truncation warning 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
« no previous file with comments | « device/geolocation/wifi_data_provider_chromeos.cc ('k') | device/geolocation/wifi_data_provider_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/wifi_data_provider_chromeos_unittest.cc
diff --git a/content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc b/device/geolocation/wifi_data_provider_chromeos_unittest.cc
similarity index 94%
rename from content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc
rename to device/geolocation/wifi_data_provider_chromeos_unittest.cc
index 64bce2732f6cf70bf00a50ff46ad23234e9c5b15..70e469e35afb67172316e54710bcd61e9c85f13b 100644
--- a/content/browser/geolocation/wifi_data_provider_chromeos_unittest.cc
+++ b/device/geolocation/wifi_data_provider_chromeos_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
@@ -9,12 +10,11 @@
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/shill_manager_client.h"
#include "chromeos/network/geolocation_handler.h"
-#include "content/browser/geolocation/wifi_data_provider_chromeos.h"
-#include "content/public/test/test_browser_thread_bundle.h"
+#include "device/geolocation/wifi_data_provider_chromeos.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
-namespace content {
+namespace device {
class GeolocationChromeOsWifiDataProviderTest : public testing::Test {
protected:
@@ -62,7 +62,7 @@ class GeolocationChromeOsWifiDataProviderTest : public testing::Test {
base::RunLoop().RunUntilIdle();
}
- TestBrowserThreadBundle thread_bundle_;
+ base::MessageLoopForUI message_loop_;
scoped_refptr<WifiDataProviderChromeOs> provider_;
chromeos::ShillManagerClient* manager_client_;
chromeos::ShillManagerClient::TestInterface* manager_test_;
@@ -99,4 +99,4 @@ TEST_F(GeolocationChromeOsWifiDataProviderTest, GetManyAccessPoints) {
ASSERT_EQ(12u, ap_data_.size());
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/wifi_data_provider_chromeos.cc ('k') | device/geolocation/wifi_data_provider_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698