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 d83fb352d4ce1a9047bbdcd5e065e35a70a8c459..bbeffc219272d8714ad21305759cf4d4c561c797 100644 |
--- a/chrome/browser/resources/chromeos/drive_internals.js |
+++ b/chrome/browser/resources/chromeos/drive_internals.js |
@@ -253,11 +253,11 @@ function updateKeyValueList(ul, list) { |
} |
/** |
- * Updates the text next to the 'reload' button to update the status. |
- * @param {boolean} success whether or not reloading has succeeded. |
+ * Updates the text next to the 'reset' button to update the status. |
+ * @param {boolean} success whether or not resetting has succeeded. |
*/ |
-function updateReloadStatus(success) { |
- $('reload-status-text').textContent = (success ? 'success' : 'failed'); |
+function updateResetStatus(success) { |
+ $('reset-status-text').textContent = (success ? 'success' : 'failed'); |
} |
document.addEventListener('DOMContentLoaded', function() { |
@@ -283,9 +283,9 @@ document.addEventListener('DOMContentLoaded', function() { |
chrome.send('clearRefreshToken'); |
}); |
- $('button-reload-drive-filesystem').addEventListener('click', function() { |
- $('reload-status-text').textContent = 'reloading...'; |
- chrome.send('reloadDriveFileSystem'); |
+ $('button-reset-drive-filesystem').addEventListener('click', function() { |
+ $('reset-status-text').textContent = 'resetting...'; |
+ chrome.send('resetDriveFileSystem'); |
}); |
$('button-show-file-entries').addEventListener('click', function() { |