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

Unified Diff: chrome/test/chromedriver/chrome/device_manager.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
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/chromedriver/chrome/devtools_http_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome/device_manager.cc
diff --git a/chrome/test/chromedriver/chrome/device_manager.cc b/chrome/test/chromedriver/chrome/device_manager.cc
index 7627f3fe1fee6d988f70f4f60f9acde8b6014a48..f4705a7a7e2418fb2a2333385ef54984940694ee 100644
--- a/chrome/test/chromedriver/chrome/device_manager.cc
+++ b/chrome/test/chromedriver/chrome/device_manager.cc
@@ -183,7 +183,7 @@ Status DeviceManager::AcquireSpecificDevice(const std::string& device_serial,
if (status.IsError())
return status;
- if (!ContainsValue(devices, device_serial))
+ if (!base::ContainsValue(devices, device_serial))
return Status(kUnknownError,
"Device " + device_serial + " is not online");
@@ -211,5 +211,5 @@ Device* DeviceManager::LockDevice(const std::string& device_serial) {
}
bool DeviceManager::IsDeviceLocked(const std::string& device_serial) {
- return ContainsValue(active_devices_, device_serial);
+ return base::ContainsValue(active_devices_, device_serial);
}
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/chromedriver/chrome/devtools_http_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698