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

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

Issue 1108083002: Create blobs from Disk Cache entries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit tests build... Created 5 years, 7 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: 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 fff9c45ea8792d249305dd8cb9581452a678ba9e..b90134f42815ecec731000f79274cff291d4b2ee 100644
--- a/storage/browser/blob/view_blob_internals_job.cc
+++ b/storage/browser/blob/view_blob_internals_job.cc
@@ -218,6 +218,11 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(
out);
}
break;
+ case DataElement::TYPE_DISK_CACHE_ENTRY:
+ AddHTMLListItem(kType, "disk cache entry", out);
+ AddHTMLListItem(kURL, item.disk_cache_entry()->GetKey(), out);
+ NOTREACHED();
+ break;
case DataElement::TYPE_UNKNOWN:
NOTREACHED();
break;

Powered by Google App Engine
This is Rietveld 408576698