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

Unified Diff: device/geolocation/wifi_data_provider_win_unittest.cc

Issue 2185993003: Reland: Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make geolocation.gyp a component and define DEVICE_GEOLOCATION_IMPLEMENTATION 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_win.cc ('k') | device/geolocation/wifi_polling_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/wifi_data_provider_win_unittest.cc
diff --git a/content/browser/geolocation/wifi_data_provider_win_unittest.cc b/device/geolocation/wifi_data_provider_win_unittest.cc
similarity index 77%
rename from content/browser/geolocation/wifi_data_provider_win_unittest.cc
rename to device/geolocation/wifi_data_provider_win_unittest.cc
index d256a4a3fcb0a9570396a3459180abe629b07674..102401ab38a9142ac840b1302820d038500a0321 100644
--- a/content/browser/geolocation/wifi_data_provider_win_unittest.cc
+++ b/device/geolocation/wifi_data_provider_win_unittest.cc
@@ -5,15 +5,15 @@
// Most logic for the platform wifi provider is now factored into
// WifiDataProviderCommon and covered by it's unit tests.
-#include "content/browser/geolocation/wifi_data_provider_win.h"
-#include "content/public/test/test_browser_thread_bundle.h"
+#include "base/message_loop/message_loop.h"
+#include "device/geolocation/wifi_data_provider_win.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace content {
+namespace device {
TEST(GeolocationWifiDataProviderWinTest, CreateDestroy) {
// WifiDataProvider requires a task runner to be present.
- TestBrowserThreadBundle thread_bundle;
+ base::MessageLoopForUI message_loop_;
scoped_refptr<WifiDataProviderWin> instance(new WifiDataProviderWin);
instance = NULL;
SUCCEED();
@@ -21,4 +21,4 @@ TEST(GeolocationWifiDataProviderWinTest, CreateDestroy) {
// it accessing hardware and so risking making the test flaky.
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/geolocation/wifi_data_provider_win.cc ('k') | device/geolocation/wifi_polling_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698