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

Unified Diff: chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to 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/media_galleries/win/mtp_device_delegate_impl_win.cc
diff --git a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
index 09bf2b03f6dcce398a1ee01da1dc0e6f17facd74..1119a17e99a3522862f23268f83463e6e6392f16 100644
--- a/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
+++ b/chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
@@ -44,7 +44,7 @@ bool GetStorageInfoOnUIThread(const string16& storage_path,
DCHECK(pnp_device_id);
DCHECK(storage_object_id);
string16 storage_device_id;
- RemoveChars(storage_path, L"\\\\", &storage_device_id);
+ base::RemoveChars(storage_path, L"\\\\", &storage_device_id);
DCHECK(!storage_device_id.empty());
// TODO(gbillock): Take the StorageMonitor as an argument.
StorageMonitor* monitor = StorageMonitor::GetInstance();

Powered by Google App Engine
This is Rietveld 408576698