Blink roll 25b6bd3a7a131ffe68d809546ad1a20707915cdc:3a503f41ae42e5b79cfcd2ff10e65afde...
[chromium-blink-merge.git] / content / browser / geolocation / wifi_data_provider_win_unittest.cc
blobcb3c21ce3eca089fca74baf759f52c822cb974e2
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Most logic for the platform wifi provider is now factored into
6 // WifiDataProviderCommon and covered by it's unit tests.
8 #include "content/browser/geolocation/wifi_data_provider_win.h"
9 #include "testing/gtest/include/gtest/gtest.h"
11 namespace content {
13 TEST(GeolocationWifiDataProviderWinTest, CreateDestroy) {
14 // WifiDataProviderCommon requires the client to have a message loop.
15 base::MessageLoop dummy_loop;
16 scoped_refptr<WifiDataProviderWin> instance(new WifiDataProviderWin);
17 instance = NULL;
18 SUCCEED();
19 // Can't actually call start provider on the WifiDataProviderWin without
20 // it accessing hardware and so risking making the test flaky.
23 } // namespace content