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

Unified Diff: components/storage_monitor/portable_device_watcher_win.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
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 421e112602c30756d28eec425f388b80e31b2d7c..1fa2e2320f5f6f38bce1e36d6186343422afb58a 100644
--- a/components/storage_monitor/portable_device_watcher_win.cc
+++ b/components/storage_monitor/portable_device_watcher_win.cc
@@ -626,11 +626,11 @@ void PortableDeviceWatcherWin::OnDidHandleDeviceAttachEvent(
const StorageObjects& storage_objects = device_details->storage_objects;
const base::string16& name = device_details->name;
const base::string16& location = device_details->location;
- DCHECK(!ContainsKey(device_map_, location));
+ DCHECK(!base::ContainsKey(device_map_, location));
for (StorageObjects::const_iterator storage_iter = storage_objects.begin();
storage_iter != storage_objects.end(); ++storage_iter) {
const std::string& storage_id = storage_iter->object_persistent_id;
- DCHECK(!ContainsKey(storage_map_, storage_id));
+ DCHECK(!base::ContainsKey(storage_map_, storage_id));
// Keep track of storage id and storage name to see how often we receive
// empty values.

Powered by Google App Engine
This is Rietveld 408576698