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

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

Issue 556106: Add tests for the geolocation network provider... (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_linux.cc
===================================================================
--- chrome/browser/geolocation/wifi_data_provider_linux.cc (revision 37850)
+++ chrome/browser/geolocation/wifi_data_provider_linux.cc (working copy)
@@ -80,7 +80,7 @@
}
bool LinuxWifiDataProvider::GetData(WifiData *data) {
- assert(data);
+ DCHECK(data);
MutexLock lock(&data_mutex_);
*data = wifi_data_;
// If we've successfully completed a scan, indicate that we have all of the
@@ -219,7 +219,7 @@
// Parse results.
- assert(access_points);
+ DCHECK(access_points);
access_points->clear();
std::string::size_type start = result.find(delimiter);
while (start != std::string::npos) {
« no previous file with comments | « chrome/browser/geolocation/wifi_data_provider_common_win.cc ('k') | chrome/browser/geolocation/wifi_data_provider_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698