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

Unified Diff: chrome/browser/resources/file_manager/background/js/volume_manager.js

Issue 98493003: Simplify fileBrowserPrivate.getDriveConnectionStatus(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the util function name. 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/file_manager/background/js/volume_manager.js
diff --git a/chrome/browser/resources/file_manager/background/js/volume_manager.js b/chrome/browser/resources/file_manager/background/js/volume_manager.js
index 5dfe57b3268be62006a646a0b52ad82e182c3ab4..a066cbbe7a7ffd0689a875fdeed188583cc7ada9 100644
--- a/chrome/browser/resources/file_manager/background/js/volume_manager.js
+++ b/chrome/browser/resources/file_manager/background/js/volume_manager.js
@@ -333,7 +333,7 @@ function VolumeManager() {
// TODO(hidehiko): Remove them after the migration.
this.driveConnectionState_ = {
type: util.DriveConnectionType.OFFLINE,
- reasons: [util.DriveConnectionReason.NO_SERVICE]
+ reason: util.DriveConnectionReason.NO_SERVICE
};
chrome.fileBrowserPrivate.onDriveConnectionStatusChanged.addListener(

Powered by Google App Engine
This is Rietveld 408576698