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

Unified Diff: content/browser/resources/indexed_db/indexeddb_internals.html

Issue 13949013: Implement download link in chrome://indexeddb-internals/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve constness for thread-proxied calls Created 7 years, 8 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/resources/indexed_db/indexeddb_internals.html
diff --git a/content/browser/resources/indexed_db/indexeddb_internals.html b/content/browser/resources/indexed_db/indexeddb_internals.html
index 5db358da86c146843fa34bb4f1fe00bb6c3bb569..87337ec291159a7dacb50671b2bfe71b79d4babb 100644
--- a/content/browser/resources/indexed_db/indexeddb_internals.html
+++ b/content/browser/resources/indexed_db/indexeddb_internals.html
@@ -10,10 +10,11 @@
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<!-- templates -->
<div style="display:none">
- <div id="indexeddb-list-template">
+ <div id="indexeddb-list-template"
+ jsvalues="$partition_path:$this.partition_path">
<div class="indexeddb-summary">
<span>Instances in: </span>
- <span jscontent="$this.path"></span>
+ <span jscontent="$this.partition_path"></span>
<span jscontent="'(' + $this.idbs.length + ')'"></span>
</div>
<div class="indexeddb-item" jsselect="$this.idbs">
@@ -31,6 +32,11 @@
<span>Path:</span>
<span jscontent="path"></span>
</div>
+ <div class="controls">
+ <a href="#" class="download"
+ jsvalues=".idb_origin_url:url;.idb_partition_path:$partition_path">Download</a>
+ <span class="download-status" style="display: none">Loading...</span>
+ </div>
</div>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698