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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/volume_manager_wrapper.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/foreground/js/volume_manager_wrapper.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/volume_manager_wrapper.js b/chrome/browser/resources/file_manager/foreground/js/volume_manager_wrapper.js
index a69495fcc91286404de219b71aeaa60de7bc8a23..f5b2894bbc663826e51b67cd7e1837bfd457d3af 100644
--- a/chrome/browser/resources/file_manager/foreground/js/volume_manager_wrapper.js
+++ b/chrome/browser/resources/file_manager/foreground/js/volume_manager_wrapper.js
@@ -205,7 +205,7 @@ VolumeManagerWrapper.prototype.getDriveConnectionState = function() {
if (!this.driveEnabled_ || !this.volumeManager_) {
return {
type: util.DriveConnectionType.OFFLINE,
- reasons: [util.DriveConnectionReason.NO_SERVICE]
+ reason: util.DriveConnectionReason.NO_SERVICE
};
}

Powered by Google App Engine
This is Rietveld 408576698