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

Unified Diff: chrome/browser/resources/chromeos/drive_internals.js

Issue 118993002: drive: Move FileSystem::LoadDirectoryIfNeeded to ChangeListLoader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix Created 7 years 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/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() {
« no previous file with comments | « chrome/browser/resources/chromeos/drive_internals.html ('k') | chrome/browser/ui/webui/chromeos/drive_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698