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 |