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

Unified Diff: ui/file_manager/file_manager/background/js/volume_manager.js

Issue 778123006: Include MTP devices in Cloud Import happiness. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test files missing from CL. Created 6 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: ui/file_manager/file_manager/background/js/volume_manager.js
diff --git a/ui/file_manager/file_manager/background/js/volume_manager.js b/ui/file_manager/file_manager/background/js/volume_manager.js
index a3f82360cdd7b68213a030043281bc7375ea8d97..25d210bfa07ad2c096dca8f71b2adbeab9c98896 100644
--- a/ui/file_manager/file_manager/background/js/volume_manager.js
+++ b/ui/file_manager/file_manager/background/js/volume_manager.js
@@ -163,15 +163,6 @@ VolumeInfo.prototype = {
};
/**
- * Provides short hand checking of volume type.
- * @param {VolumeManagerCommon.VolumeType} type
- * @return {boolean} True if the volume is of the specified type.
- */
-VolumeInfo.prototype.isType = function(type) {
- return type === this.volumeType_;
-};
-
-/**
* Starts resolving the display root and obtains it. It may take long time for
* Drive. Once resolved, it is cached.
*

Powered by Google App Engine
This is Rietveld 408576698