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

Unified Diff: content/browser/geolocation/wifi_data_provider_mac.cc

Issue 121033002: Update uses of UTF conversions in content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: content/browser/geolocation/wifi_data_provider_mac.cc
diff --git a/content/browser/geolocation/wifi_data_provider_mac.cc b/content/browser/geolocation/wifi_data_provider_mac.cc
index e7d8e8247f9bf2261240d817b4b3878dbab46a40..6a87801c893cde0ac6943ae82ff49bf202f6739a 100644
--- a/content/browser/geolocation/wifi_data_provider_mac.cc
+++ b/content/browser/geolocation/wifi_data_provider_mac.cc
@@ -140,9 +140,10 @@ bool Apple80211Api::GetAccessPointData(WifiData::AccessPointDataSet* data) {
// WirelessNetworkInfo::noise appears to be noise floor in dBm.
access_point_data.signal_to_noise = access_point_info->signal -
access_point_info->noise;
- if (!UTF8ToUTF16(reinterpret_cast<const char*>(access_point_info->name),
- access_point_info->nameLen,
- &access_point_data.ssid)) {
+ if (!base::UTF8ToUTF16(reinterpret_cast<const char*>(
+ access_point_info->name),
+ access_point_info->nameLen,
+ &access_point_data.ssid)) {
access_point_data.ssid.clear();
}
data->insert(access_point_data);

Powered by Google App Engine
This is Rietveld 408576698