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

Unified Diff: Source/devtools/front_end/resources/ResourcesPanel.js

Issue 813173002: [ServiceWorker] Cache inspector out from flag, style & icon changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed Experiment, added icon css Created 6 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
Index: Source/devtools/front_end/resources/ResourcesPanel.js
diff --git a/Source/devtools/front_end/resources/ResourcesPanel.js b/Source/devtools/front_end/resources/ResourcesPanel.js
index 19a4f1856d9cfd41482fceb7d27c61114015852a..dfeda42fb7b2869b869f9db9a2332c0fac081742 100644
--- a/Source/devtools/front_end/resources/ResourcesPanel.js
+++ b/Source/devtools/front_end/resources/ResourcesPanel.js
@@ -52,7 +52,7 @@ WebInspector.ResourcesPanel = function()
this.indexedDBListTreeElement = new WebInspector.IndexedDBTreeElement(this);
this.sidebarTree.appendChild(this.indexedDBListTreeElement);
- if (WebInspector.isWorkerFrontend() && Runtime.experiments.isEnabled("serviceWorkerCacheInspection")) {
+ if (WebInspector.isWorkerFrontend()) {
this.serviceWorkerCacheListTreeElement = new WebInspector.ServiceWorkerCacheTreeElement(this);
this.sidebarTree.appendChild(this.serviceWorkerCacheListTreeElement);
}
@@ -1412,7 +1412,7 @@ WebInspector.DatabaseTableTreeElement.prototype = {
*/
WebInspector.ServiceWorkerCacheTreeElement = function(storagePanel)
{
- WebInspector.StorageCategoryTreeElement.call(this, storagePanel, WebInspector.UIString("ServiceWorkerCache"), "IndexedDB", ["indexed-db-storage-tree-item"]);
+ WebInspector.StorageCategoryTreeElement.call(this, storagePanel, WebInspector.UIString("Service Worker Cache"), "ServiceWorkerCache", ["service-worker-cache-storage-tree-item"]);
}
WebInspector.ServiceWorkerCacheTreeElement.prototype = {
@@ -1541,7 +1541,7 @@ WebInspector.ServiceWorkerCacheTreeElement.prototype = {
*/
WebInspector.SWCacheTreeElement = function(storagePanel, model, cacheId)
{
- WebInspector.BaseStorageTreeElement.call(this, storagePanel, null, cacheId.name, ["indexed-db-storage-tree-item"]);
+ WebInspector.BaseStorageTreeElement.call(this, storagePanel, null, cacheId.name, ["service-worker-cache-tree-item"]);
this._model = model;
this._cacheId = cacheId;
}
« no previous file with comments | « Source/devtools/front_end/resources/IndexedDBViews.js ('k') | Source/devtools/front_end/resources/ServiceWorkerCacheViews.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698