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

Unified Diff: chromeos/disks/disk_mount_manager.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
« no previous file with comments | « chromeos/dbus/session_manager_client.cc ('k') | chromeos/settings/cros_settings_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/disks/disk_mount_manager.cc
diff --git a/chromeos/disks/disk_mount_manager.cc b/chromeos/disks/disk_mount_manager.cc
index 9264a3305635efa568fd3ff3e98d8b424dadaf4e..36e4c46f5e4514a2a488bdd5c4e2e2d9a5932c51 100644
--- a/chromeos/disks/disk_mount_manager.cc
+++ b/chromeos/disks/disk_mount_manager.cc
@@ -273,8 +273,8 @@ class DiskMountManagerImpl : public DiskMountManager {
for (MountPointMap::iterator it = mount_points_.begin();
it != mount_points_.end();
++it) {
- if (StartsWithASCII(it->second.source_path, mount_path,
- true /*case sensitive*/)) {
+ if (base::StartsWithASCII(it->second.source_path, mount_path,
+ true /*case sensitive*/)) {
// TODO(tbarzic): Handle the case where this fails.
UnmountPath(it->second.mount_path,
UNMOUNT_OPTIONS_NONE,
@@ -603,7 +603,7 @@ class DiskMountManagerImpl : public DiskMountManager {
it != system_path_prefixes_.end();
++it) {
const std::string& prefix = *it;
- if (StartsWithASCII(system_path, prefix, true))
+ if (base::StartsWithASCII(system_path, prefix, true))
return prefix;
}
return base::EmptyString();
« no previous file with comments | « chromeos/dbus/session_manager_client.cc ('k') | chromeos/settings/cros_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698