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

Unified Diff: chrome/browser/storage_monitor/storage_monitor_chromeos.cc

Issue 120983002: Update some uses of UTF conversions in chrome/browser 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: chrome/browser/storage_monitor/storage_monitor_chromeos.cc
diff --git a/chrome/browser/storage_monitor/storage_monitor_chromeos.cc b/chrome/browser/storage_monitor/storage_monitor_chromeos.cc
index c14e44cb928d1177dc6f8d2eb9be69d6371d7aad..6b090c39f976c03a2f5a02163a480acc7ec2b690 100644
--- a/chrome/browser/storage_monitor/storage_monitor_chromeos.cc
+++ b/chrome/browser/storage_monitor/storage_monitor_chromeos.cc
@@ -58,7 +58,7 @@ bool GetDeviceInfo(const disks::DiskMountManager::MountPointInfo& mount_info,
std::string unique_id = MakeDeviceUniqueId(*disk);
// Keep track of device uuid and label, to see how often we receive empty
// values.
- base::string16 device_label = UTF8ToUTF16(disk->device_label());
+ base::string16 device_label = base::UTF8ToUTF16(disk->device_label());
MediaStorageUtil::RecordDeviceInfoHistogram(true, unique_id, device_label);
if (unique_id.empty())
return false;
@@ -71,8 +71,8 @@ bool GetDeviceInfo(const disks::DiskMountManager::MountPointInfo& mount_info,
base::string16(),
mount_info.mount_path,
device_label,
- UTF8ToUTF16(disk->vendor_name()),
- UTF8ToUTF16(disk->product_name()),
+ base::UTF8ToUTF16(disk->vendor_name()),
+ base::UTF8ToUTF16(disk->product_name()),
disk->total_size_in_bytes());
return true;
}
« no previous file with comments | « chrome/browser/storage_monitor/storage_monitor.cc ('k') | chrome/browser/storage_monitor/storage_monitor_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698