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

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

Issue 2604913002: Remove base::ScopedPtrHashMap from storage/. (Closed)
Patch Set: Created 4 years 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_storage_registry.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/view_blob_internals_job.cc
diff --git a/storage/browser/blob/view_blob_internals_job.cc b/storage/browser/blob/view_blob_internals_job.cc
index a076321f1ef762b375de5bdc7c8e2bd3d7275b51..095376b30e2314606e1fe33feeccdbd0bb5e8b03 100644
--- a/storage/browser/blob/view_blob_internals_job.cc
+++ b/storage/browser/blob/view_blob_internals_job.cc
@@ -153,8 +153,7 @@ int ViewBlobInternalsJob::GetData(
}
void ViewBlobInternalsJob::GenerateHTML(std::string* out) const {
- for (BlobStorageRegistry::BlobMap::const_iterator iter =
- blob_storage_context_->registry().blob_map_.begin();
+ for (auto iter = blob_storage_context_->registry().blob_map_.begin();
iter != blob_storage_context_->registry().blob_map_.end(); ++iter) {
AddHTMLBoldText(iter->first, out);
GenerateHTMLForBlobData(*iter->second, iter->second->content_type(),
@@ -163,8 +162,7 @@ void ViewBlobInternalsJob::GenerateHTML(std::string* out) const {
}
if (!blob_storage_context_->registry().url_to_uuid_.empty()) {
AddHorizontalRule(out);
- for (BlobStorageRegistry::URLMap::const_iterator iter =
- blob_storage_context_->registry().url_to_uuid_.begin();
+ for (auto iter = blob_storage_context_->registry().url_to_uuid_.begin();
iter != blob_storage_context_->registry().url_to_uuid_.end(); ++iter) {
AddHTMLBoldText(iter->first.spec(), out);
StartHTMLList(out);
« no previous file with comments | « storage/browser/blob/blob_storage_registry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698