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

Unified Diff: chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change 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
Index: chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
diff --git a/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc b/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
index 6941878f69c33e8a1711cfa7292fb9c98103a952..b22022edd8bc9a0661cc665b36dfd9bacd3e2236 100644
--- a/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
+++ b/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
@@ -33,7 +33,7 @@ void MTPDeviceMapService::RegisterMTPFileSystem(
DCHECK(!filesystem_id.empty());
const AsyncDelegateKey key = GetAsyncDelegateKey(device_location, read_only);
- if (!ContainsKey(mtp_device_usage_map_, key)) {
+ if (!base::ContainsKey(mtp_device_usage_map_, key)) {
// Note that this initializes the delegate asynchronously, but since
// the delegate will only be used from the IO thread, it is guaranteed
// to be created before use of it expects it to be there.
@@ -82,7 +82,7 @@ void MTPDeviceMapService::AddAsyncDelegate(
DCHECK(!device_location.empty());
const AsyncDelegateKey key = GetAsyncDelegateKey(device_location, read_only);
- if (ContainsKey(async_delegate_map_, key))
+ if (base::ContainsKey(async_delegate_map_, key))
return;
async_delegate_map_[key] = delegate;
}

Powered by Google App Engine
This is Rietveld 408576698