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

Side by Side Diff: chrome/browser/geolocation/wifi_data_provider_unittest_win.cc

Issue 6591034: Move core pieces of geolocation from chrome to content.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix Linux build Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 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.
4
5 // Most logic for the platform wifi provider is now factored into
6 // WifiDataProviderCommon and covered by it's unit tests.
7
8 #include "chrome/browser/geolocation/wifi_data_provider_win.h"
9
10 #include "testing/gtest/include/gtest/gtest.h"
11
12 TEST(GeolocationWin32WifiDataProviderTest, CreateDestroy) {
13 // WifiDataProviderCommon requires the client to have a message loop.
14 MessageLoop dummy_loop;
15 scoped_refptr<Win32WifiDataProvider> instance(new Win32WifiDataProvider);
16 instance = NULL;
17 SUCCEED();
18 // Can't actually call start provider on the Win32WifiDataProvider without
19 // it accessing hardware and so risking making the test flaky.
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698