Index: chrome/browser/resources/chromeos/drive_internals.js |
diff --git a/chrome/browser/resources/chromeos/drive_internals.js b/chrome/browser/resources/chromeos/drive_internals.js |
index d9ef590b02ffc94f5e3ecbb3dfb8f064209caa17..de1641eec45e1cb23f69338dcb9c0af572bb7624 100644 |
--- a/chrome/browser/resources/chromeos/drive_internals.js |
+++ b/chrome/browser/resources/chromeos/drive_internals.js |
@@ -69,6 +69,15 @@ function updateCacheContents(cacheEntry) { |
} |
/** |
+ * Updates the Local Storage summary. |
+ * @param {Object} localStorageSummary Dictionaty describing the status of local |
+ * stogage. |
+ */ |
+function updateLocalStorageUsage(localStorageSummary) { |
+ $('local-storage-freespace').innerText = localStorageSummary.free_space; |
satorux1
2012/08/17 10:50:49
I guess we want to convert it to MB. Otherwise, th
Haruki Sato
2012/08/17 15:08:45
Done.
|
+} |
+ |
+/** |
* Creates an element named |elementName| containing the content |text|. |
* @param {string} elementName Name of the new element to be created. |
* @param {string} text Text to be contained in the new element. |