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

Unified Diff: chrome/browser/resources/file_manager/js/metadata/metadata_cache.js

Issue 11414152: Drive: Rename GData to Drive in extension JS API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: review fix (comment #7) Created 8 years, 1 month 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/js/metadata/metadata_cache.js
diff --git a/chrome/browser/resources/file_manager/js/metadata/metadata_cache.js b/chrome/browser/resources/file_manager/js/metadata/metadata_cache.js
index 9459c87892ea2f41482245eef4556fe1a27141fb..9cc002398750ddd1ca26d8012f9ac9765a6bb030 100644
--- a/chrome/browser/resources/file_manager/js/metadata/metadata_cache.js
+++ b/chrome/browser/resources/file_manager/js/metadata/metadata_cache.js
@@ -694,7 +694,7 @@ GDataProvider.prototype.callApi_ = function() {
this.callbacks_ = [];
var self = this;
- chrome.fileBrowserPrivate.getGDataFileProperties(urls, function(props) {
+ chrome.fileBrowserPrivate.getDriveFileProperties(urls, function(props) {
for (var index = 0; index < urls.length; index++) {
callbacks[index](self.convert_(props[index], urls[index]));
}
@@ -702,7 +702,7 @@ GDataProvider.prototype.callApi_ = function() {
};
/**
- * @param {GDataFileProperties} data GData file properties.
+ * @param {DriveFileProperties} data Drive file properties.
* @param {string} url File url.
* @return {boolean} True if the file is available offline.
*/
@@ -718,7 +718,7 @@ GDataProvider.isAvailableOffline = function(data, url) {
};
/**
- * @param {GDataFileProperties} data GData file properties.
+ * @param {DriveFileProperties} data Drive file properties.
* @return {boolean} True if opening the file does not require downloading it
* via a metered connection.
*/

Powered by Google App Engine
This is Rietveld 408576698