| 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
|
|
|