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

Unified Diff: chrome/browser/resources/options/chromeos/storage_manager.js

Issue 2111043003: Storage manager: Show the disk usage of other users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo and the order of storage items. Created 4 years, 6 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/chromeos/storage_manager.js
diff --git a/chrome/browser/resources/options/chromeos/storage_manager.js b/chrome/browser/resources/options/chromeos/storage_manager.js
index 6aed721179ecba2fe685816029b99427dad18eea..a2f75cb2f0fd4d13134c370dc3c4b5b8c54f8340 100644
--- a/chrome/browser/resources/options/chromeos/storage_manager.js
+++ b/chrome/browser/resources/options/chromeos/storage_manager.js
@@ -110,7 +110,7 @@ cr.define('options', function() {
/**
* Updates the size of browsing data.
- * @param {string} size Formatted string of the size of Downloads.
+ * @param {string} size Formatted string of the size of browsing data.
* @private
*/
setBrowsingDataSize_: function(size) {
@@ -118,6 +118,15 @@ cr.define('options', function() {
},
/**
+ * Updates the size of other users.
+ * @param {string} size Formatted string of the size of other users.
+ * @private
+ */
+ setOtherUsersSize_: function(size) {
+ $('storage-manager-size-other-users').textContent = size;
+ },
+
+ /**
* Updates the total size of Android apps and cache.
* @param {string} size Formatted string of the size of Android apps and
* cache.
@@ -143,6 +152,7 @@ cr.define('options', function() {
'setBrowsingDataSize',
'setDownloadsSize',
'setDriveCacheSize',
+ 'setOtherUsersSize',
'setSizeStat',
'showArcItem',
]);

Powered by Google App Engine
This is Rietveld 408576698