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

Unified Diff: chrome/browser/geolocation/wifi_data_provider_common_win.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_common_win.cc
===================================================================
--- chrome/browser/geolocation/wifi_data_provider_common_win.cc (revision 37850)
+++ chrome/browser/geolocation/wifi_data_provider_common_win.cc (working copy)
@@ -14,7 +14,7 @@
AccessPointData *access_point_data) {
// Currently we get only MAC address, signal strength and SSID.
// TODO(steveblock): Work out how to get age, channel and signal-to-noise.
- assert(access_point_data);
+ DCHECK(access_point_data);
access_point_data->mac_address = MacAddressAsString16(data.MacAddress);
access_point_data->radio_signal_strength = data.Rssi;
// Note that _NDIS_802_11_SSID::Ssid::Ssid is not null-terminated.
« no previous file with comments | « chrome/browser/geolocation/wifi_data_provider_common.h ('k') | chrome/browser/geolocation/wifi_data_provider_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698