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

Unified Diff: chrome/browser/storage_monitor/portable_device_watcher_win.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/portable_device_watcher_win.cc
diff --git a/chrome/browser/storage_monitor/portable_device_watcher_win.cc b/chrome/browser/storage_monitor/portable_device_watcher_win.cc
index 0efc31996d0cc0927836869bc1022dad2bf57160..bef912d2cc052cba9f6c042a7c9cc2f6f4170526 100644
--- a/chrome/browser/storage_monitor/portable_device_watcher_win.cc
+++ b/chrome/browser/storage_monitor/portable_device_watcher_win.cc
@@ -250,7 +250,7 @@ bool ConstructDeviceStorageUniqueId(const base::string16& device_serial_num,
DCHECK(device_storage_id);
*device_storage_id = StorageInfo::MakeDeviceId(
StorageInfo::MTP_OR_PTP,
- UTF16ToUTF8(storage_id + L':' + device_serial_num));
+ base::UTF16ToUTF8(storage_id + L':' + device_serial_num));
return true;
}
@@ -542,7 +542,7 @@ base::string16 PortableDeviceWatcherWin::GetStoragePathFromStorageId(
// Construct a dummy device path using the storage name. This is only used
// for registering the device media file system.
DCHECK(!storage_unique_id.empty());
- return UTF8ToUTF16("\\\\" + storage_unique_id);
+ return base::UTF8ToUTF16("\\\\" + storage_unique_id);
}
void PortableDeviceWatcherWin::SetNotifications(

Powered by Google App Engine
This is Rietveld 408576698