| 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..8e07931593549732e6110687364e54006ccd43eb 100644
|
| --- a/chrome/browser/resources/chromeos/drive_internals.js
|
| +++ b/chrome/browser/resources/chromeos/drive_internals.js
|
| @@ -69,6 +69,16 @@ function updateCacheContents(cacheEntry) {
|
| }
|
|
|
| /**
|
| + * Updates the Local Storage summary.
|
| + * @param {Object} localStorageSummary Dictionaty describing the status of local
|
| + * stogage.
|
| + */
|
| +function updateLocalStorageUsage(localStorageSummary) {
|
| + var freeSpaceInMB = localStorageSummary.free_space / (1 << 20);
|
| + $('local-storage-freespace').innerText = freeSpaceInMB;
|
| +}
|
| +
|
| +/**
|
| * 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.
|
|
|