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

Unified Diff: components/storage_monitor/storage_monitor_chromeos.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site Created 4 years, 4 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 | « components/storage_monitor/storage_monitor.cc ('k') | components/storage_monitor/storage_monitor_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/storage_monitor_chromeos.cc
diff --git a/components/storage_monitor/storage_monitor_chromeos.cc b/components/storage_monitor/storage_monitor_chromeos.cc
index bc1d7c58ba91308691813118f0eabc5adec01f57..e8b55374732f5584b09eadd0c3ee95b560868cff 100644
--- a/components/storage_monitor/storage_monitor_chromeos.cc
+++ b/components/storage_monitor/storage_monitor_chromeos.cc
@@ -162,7 +162,7 @@ void StorageMonitorCros::OnMountEvent(
switch (event) {
case DiskMountManager::MOUNTING: {
- if (ContainsKey(mount_map_, mount_info.mount_path)) {
+ if (base::ContainsKey(mount_map_, mount_info.mount_path)) {
NOTREACHED();
return;
}
@@ -210,7 +210,7 @@ bool StorageMonitorCros::GetStorageInfoForPath(
return false;
base::FilePath current = path;
- while (!ContainsKey(mount_map_, current.value()) &&
+ while (!base::ContainsKey(mount_map_, current.value()) &&
current != current.DirName()) {
current = current.DirName();
}
@@ -280,7 +280,7 @@ void StorageMonitorCros::AddMountedPath(
bool has_dcim) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- if (ContainsKey(mount_map_, mount_info.mount_path)) {
+ if (base::ContainsKey(mount_map_, mount_info.mount_path)) {
// CheckExistingMountPointsOnUIThread() added the mount point information
// in the map before the device attached handler is called. Therefore, an
// entry for the device already exists in the map.
« no previous file with comments | « components/storage_monitor/storage_monitor.cc ('k') | components/storage_monitor/storage_monitor_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698