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

Unified Diff: components/storage_monitor/portable_device_watcher_win.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger Created 5 years, 6 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: components/storage_monitor/portable_device_watcher_win.cc
diff --git a/components/storage_monitor/portable_device_watcher_win.cc b/components/storage_monitor/portable_device_watcher_win.cc
index 9b581bf0508acc236b132149eeb02b309ae4d552..ed850738e9fe438275eeae332c05e4e8fcda8ba4 100644
--- a/components/storage_monitor/portable_device_watcher_win.cc
+++ b/components/storage_monitor/portable_device_watcher_win.cc
@@ -301,7 +301,7 @@ bool IsMassStoragePortableDevice(const base::string16& pnp_device_id,
const base::string16& device_name) {
// Based on testing, if the pnp device id starts with "\\?\wpdbusenumroot#",
// then the attached device belongs to a mass storage class.
- if (StartsWith(pnp_device_id, L"\\\\?\\wpdbusenumroot#", false))
+ if (base::StartsWith(pnp_device_id, L"\\\\?\\wpdbusenumroot#", false))
return true;
// If the device is a volume mounted device, |device_name| will be
« no previous file with comments | « components/search_engines/template_url_service_util_unittest.cc ('k') | components/suggestions/suggestions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698