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

Unified Diff: chrome/browser/resources/options/cookies_list.js

Issue 1297093002: Cache Storage API: Hook up to chrome://settings/cookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto https://codereview.chromium.org/1297023004 Created 5 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
Index: chrome/browser/resources/options/cookies_list.js
diff --git a/chrome/browser/resources/options/cookies_list.js b/chrome/browser/resources/options/cookies_list.js
index 56a8f35aa507a28bd0bfbe17d6103227b62f9613..6de8e4e2721ee1cfdeb0570dae1eaeb0d40d6a95 100644
--- a/chrome/browser/resources/options/cookies_list.js
+++ b/chrome/browser/resources/options/cookies_list.js
@@ -43,6 +43,9 @@ cr.define('options', function() {
'service_worker': [['origin', 'label_service_worker_origin'],
['size', 'label_service_worker_size'],
['scopes', 'label_service_worker_scopes']],
+ 'cache_storage': [['origin', 'label_cache_storage_origin'],
+ ['size', 'label_cache_storage_size'],
+ ['modified', 'label_cache_storage_last_modified']],
'flash_lso': [['domain', 'label_cookie_domain']],
};
@@ -252,6 +255,7 @@ cr.define('options', function() {
fileSystem: false,
channelIDs: 0,
serviceWorker: false,
+ cacheStorage: false,
};
if (this.origin)
this.origin.collectSummaryInfo(info);
@@ -273,6 +277,8 @@ cr.define('options', function() {
list.push(loadTimeData.getString('cookie_channel_id'));
if (info.serviceWorker)
list.push(loadTimeData.getString('cookie_service_worker'));
+ if (info.cacheStorage)
+ list.push(loadTimeData.getString('cookie_cache_storage'));
if (info.flashLSO)
list.push(loadTimeData.getString('cookie_flash_lso'));
@@ -491,6 +497,8 @@ cr.define('options', function() {
info.channelIDs++;
} else if (this.data.type == 'service_worker') {
info.serviceWorker = true;
+ } else if (this.data.type == 'cache_storage') {
+ info.cacheStorage = true;
} else if (this.data.type == 'flash_lso') {
info.flashLSO = true;
}

Powered by Google App Engine
This is Rietveld 408576698