diff options
author | brettw <brettw@chromium.org> | 2015-06-11 18:57:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-12 01:59:01 +0000 |
commit | 44ce0ec5b05184c4e33d597d4e5a32d9f38b15c2 (patch) | |
tree | 30eccdbbe72fb47810535fe56e0a8313be2db4b2 /chromeos/disks | |
parent | 57ca2cd795596162f06a6aa67367d8ce0d9ded52 (diff) | |
download | chromium_src-44ce0ec5b05184c4e33d597d4e5a32d9f38b15c2.zip chromium_src-44ce0ec5b05184c4e33d597d4e5a32d9f38b15c2.tar.gz chromium_src-44ce0ec5b05184c4e33d597d4e5a32d9f38b15c2.tar.bz2 |
Move StartsWith[ASCII] to base namespace.
NOPRESUBMIT=true
(no presubmit due to removing base:: from a ScopedAllowIO)
Review URL: https://codereview.chromium.org/1172183002
Cr-Commit-Position: refs/heads/master@{#334108}
Diffstat (limited to 'chromeos/disks')
-rw-r--r-- | chromeos/disks/disk_mount_manager.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromeos/disks/disk_mount_manager.cc b/chromeos/disks/disk_mount_manager.cc index 9264a33..36e4c46 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(); |