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

Unified Diff: chrome/browser/geolocation/wifi_data_provider_unittest_win.cc

Issue 552250: Port the gears geolocation network provider to Chromium... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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: chrome/browser/geolocation/wifi_data_provider_unittest_win.cc
===================================================================
--- chrome/browser/geolocation/wifi_data_provider_unittest_win.cc (revision 37842)
+++ chrome/browser/geolocation/wifi_data_provider_unittest_win.cc (working copy)
@@ -9,7 +9,6 @@
#include "base/scoped_ptr.h"
#include "base/string_util.h"
#include "chrome/browser/geolocation/wifi_data_provider_common.h"
-#include "chrome/test/ui_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -42,7 +41,7 @@
public:
explicit MessageLoopQuitListener(MessageLoop* message_loop)
: message_loop_to_quit_(message_loop) {
- assert(message_loop_to_quit_ != NULL);
+ DCHECK(message_loop_to_quit_ != NULL);
}
// ListenerInterface
virtual void DeviceDataUpdateAvailable(
@@ -74,7 +73,7 @@
provider_.reset(CreateWin32WifiDataProvider(&wlan_api_));
}
virtual void TearDown() {
- provider_.reset(NULL);
+ provider_.reset();
}
protected:
@@ -98,7 +97,7 @@
TEST_F(Win32WifiDataProviderTest, StartThread) {
EXPECT_TRUE(provider_->StartDataProvider());
- provider_.reset(NULL); // Stop()s the thread.
+ provider_.reset(); // Stop()s the thread.
SUCCEED();
}
« no previous file with comments | « chrome/browser/geolocation/network_location_request.cc ('k') | chrome/browser/geolocation/wifi_data_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698