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

Unified Diff: content/browser/geolocation/wifi_data_provider_win_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: content/browser/geolocation/wifi_data_provider_win_unittest.cc
diff --git a/device/geolocation/wifi_data_provider_win_unittest.cc b/content/browser/geolocation/wifi_data_provider_win_unittest.cc
similarity index 77%
copy from device/geolocation/wifi_data_provider_win_unittest.cc
copy to content/browser/geolocation/wifi_data_provider_win_unittest.cc
index 102401ab38a9142ac840b1302820d038500a0321..d256a4a3fcb0a9570396a3459180abe629b07674 100644
--- a/device/geolocation/wifi_data_provider_win_unittest.cc
+++ b/content/browser/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 "base/message_loop/message_loop.h"
-#include "device/geolocation/wifi_data_provider_win.h"
+#include "content/browser/geolocation/wifi_data_provider_win.h"
+#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace device {
+namespace content {
TEST(GeolocationWifiDataProviderWinTest, CreateDestroy) {
// WifiDataProvider requires a task runner to be present.
- base::MessageLoopForUI message_loop_;
+ TestBrowserThreadBundle thread_bundle;
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 device
+} // namespace content
« no previous file with comments | « content/browser/geolocation/wifi_data_provider_win.cc ('k') | content/browser/geolocation/wifi_polling_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698