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

Unified Diff: chrome/browser/resources/file_manager/js/photo/photo_import.js

Issue 12260038: Fixed wrong constant names to make Importer working again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/photo/photo_import.js
diff --git a/chrome/browser/resources/file_manager/js/photo/photo_import.js b/chrome/browser/resources/file_manager/js/photo/photo_import.js
index 5cdfe569b39204312fe948f51af0a74093efd607..557d51d464039b1ec21291bb57bafad34100002c 100644
--- a/chrome/browser/resources/file_manager/js/photo/photo_import.js
+++ b/chrome/browser/resources/file_manager/js/photo/photo_import.js
@@ -37,10 +37,10 @@ PhotoImport.prototype = { __proto__: cr.EventTarget.prototype };
PhotoImport.ITEM_WIDTH = 164 + 8;
/**
- * Directory name on the GData containing the imported photos.
+ * Directory name on the Drive containing the imported photos.
* TODO(dgozman): localize
*/
-PhotoImport.GDATA_PHOTOS_DIR = 'My Photos';
+PhotoImport.DRIVE_PHOTOS_DIR = 'My Photos';
/**
* Loads app in the document body.
@@ -129,14 +129,14 @@ PhotoImport.prototype.initDestination_ = function() {
}.bind(this);
var onMounted = function() {
- var dir = PathUtil.join(RootDirectory.GDATA, PhotoImport.GDATA_PHOTOS_DIR);
+ var dir = PathUtil.join(RootDirectory.DRIVE, PhotoImport.DRIVE_PHOTOS_DIR);
util.getOrCreateDirectory(this.filesystem_.root, dir, onDirectory, onError);
}.bind(this);
- if (this.volumeManager_.isMounted(RootDirectory.GDATA)) {
+ if (this.volumeManager_.isMounted(RootDirectory.DRIVE)) {
onMounted();
} else {
- this.volumeManager_.mountGData(onMounted, onError);
+ this.volumeManager_.mountDrive(onMounted, onError);
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698