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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.cc

Issue 2228403003: content: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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: content/browser/indexed_db/indexed_db_dispatcher_host.cc
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
index f6e26b592eefd8ba65e9b099a56e23d976b66982..5db13938ccbe8e741d494d8281520c84f704f563 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
@@ -260,7 +260,7 @@ std::string IndexedDBDispatcherHost::HoldBlobData(
blob_data_handle = context->GetBlobDataFromUUID(uuid);
}
- DCHECK(!ContainsKey(blob_data_handle_map_, uuid));
+ DCHECK(!base::ContainsKey(blob_data_handle_map_, uuid));
blob_data_handle_map_[uuid] = std::make_pair(blob_data_handle.release(), 1);
return uuid;
}
@@ -607,7 +607,7 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnCreateTransaction(
int64_t host_transaction_id =
parent_->HostTransactionId(params.transaction_id);
- if (ContainsKey(transaction_database_map_, host_transaction_id)) {
+ if (base::ContainsKey(transaction_database_map_, host_transaction_id)) {
DLOG(ERROR) << "Duplicate host_transaction_id.";
return;
}
@@ -911,7 +911,7 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnCommit(
int64_t host_transaction_id = parent_->HostTransactionId(transaction_id);
// May have been aborted by back end before front-end could request commit.
- if (!ContainsKey(transaction_size_map_, host_transaction_id))
+ if (!base::ContainsKey(transaction_size_map_, host_transaction_id))
return;
int64_t transaction_size = transaction_size_map_[host_transaction_id];
@@ -943,7 +943,7 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::
return;
int64_t host_transaction_id = parent_->HostTransactionId(transaction_id);
// May have aborted while quota check was pending.
- if (!ContainsKey(transaction_size_map_, host_transaction_id))
+ if (!base::ContainsKey(transaction_size_map_, host_transaction_id))
return;
int64_t transaction_size = transaction_size_map_[host_transaction_id];
« no previous file with comments | « content/browser/indexed_db/indexed_db_database.cc ('k') | content/browser/indexed_db/indexed_db_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698