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

Unified Diff: components/proximity_auth/bluetooth_throttler_impl.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/prefs/pref_registry.cc ('k') | components/query_parser/query_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/bluetooth_throttler_impl.cc
diff --git a/components/proximity_auth/bluetooth_throttler_impl.cc b/components/proximity_auth/bluetooth_throttler_impl.cc
index 7f6b10558970d598bc498962c2df7ad87b5a5e5c..da4816dae9bbd72a49c7f060b81b7361eb1409a9 100644
--- a/components/proximity_auth/bluetooth_throttler_impl.cc
+++ b/components/proximity_auth/bluetooth_throttler_impl.cc
@@ -42,7 +42,7 @@ base::TimeDelta BluetoothThrottlerImpl::GetDelay() const {
}
void BluetoothThrottlerImpl::OnConnection(Connection* connection) {
- DCHECK(!ContainsKey(connections_, connection));
+ DCHECK(!base::ContainsKey(connections_, connection));
connections_.insert(connection);
connection->AddObserver(this);
}
@@ -55,7 +55,7 @@ void BluetoothThrottlerImpl::OnConnectionStatusChanged(
Connection* connection,
Connection::Status old_status,
Connection::Status new_status) {
- DCHECK(ContainsKey(connections_, connection));
+ DCHECK(base::ContainsKey(connections_, connection));
if (new_status == Connection::DISCONNECTED) {
last_disconnect_time_ = clock_->NowTicks();
connection->RemoveObserver(this);
« no previous file with comments | « components/prefs/pref_registry.cc ('k') | components/query_parser/query_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698