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

Unified Diff: storage/browser/blob/blob_storage_registry.cc

Issue 2236453002: storage: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « storage/browser/blob/blob_reader.cc ('k') | storage/browser/fileapi/copy_or_move_operation_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/blob_storage_registry.cc
diff --git a/storage/browser/blob/blob_storage_registry.cc b/storage/browser/blob/blob_storage_registry.cc
index a0f03b25fd42a73fbd3cff7e6358c33992c27243..9ddcb99b555ed11cdcbeb0228307e518e77c6ba8 100644
--- a/storage/browser/blob/blob_storage_registry.cc
+++ b/storage/browser/blob/blob_storage_registry.cc
@@ -63,7 +63,7 @@ BlobStorageRegistry::Entry* BlobStorageRegistry::CreateEntry(
const std::string& uuid,
const std::string& content_type,
const std::string& content_disposition) {
- DCHECK(!ContainsKey(blob_map_, uuid));
+ DCHECK(!base::ContainsKey(blob_map_, uuid));
std::unique_ptr<Entry> entry(new Entry(1, BlobState::PENDING));
entry->content_type = content_type;
entry->content_disposition = content_disposition;
@@ -115,7 +115,7 @@ bool BlobStorageRegistry::DeleteURLMapping(const GURL& blob_url,
}
bool BlobStorageRegistry::IsURLMapped(const GURL& blob_url) const {
- return ContainsKey(url_to_uuid_, blob_url);
+ return base::ContainsKey(url_to_uuid_, blob_url);
}
BlobStorageRegistry::Entry* BlobStorageRegistry::GetEntryFromURL(
« no previous file with comments | « storage/browser/blob/blob_reader.cc ('k') | storage/browser/fileapi/copy_or_move_operation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698