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

Unified Diff: ui/file_manager/video_player/js/cast/media_manager.js

Issue 450903002: Random clean up around Chrome OS file manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « ui/file_manager/video_player/js/cast/caster.js ('k') | ui/file_manager/video_player/js/error_util.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/video_player/js/cast/media_manager.js
diff --git a/ui/file_manager/video_player/js/cast/media_manager.js b/ui/file_manager/video_player/js/cast/media_manager.js
index 884c63985bebb25a0bd14c5182009274e12f7658..4f2b78d999ea684a4a38859e846301000659040c 100644
--- a/ui/file_manager/video_player/js/cast/media_manager.js
+++ b/ui/file_manager/video_player/js/cast/media_manager.js
@@ -37,9 +37,9 @@ MediaManager.prototype.isAvailableForCast = function() {
};
/**
- * Retrives the token for cast.
+ * Retrieves the token for cast.
*
- * @param {boolean} refresh If true, force to refrech a token. If false, use the
+ * @param {boolean} refresh If true, force to refresh a token. If false, use the
* cached token if available.
* @return {Promise} Promise which is resolved with the token. Reject if failed.
*/
@@ -64,7 +64,7 @@ MediaManager.prototype.getToken = function(refresh) {
};
/**
- * Retrives the url for cast.
+ * Retrieves the url for cast.
*
* @return {Promise} Promise which is resolved with the url. Reject if failed.
*/
@@ -88,7 +88,7 @@ MediaManager.prototype.getUrl = function() {
};
/**
- * Retrives the mime of file.
+ * Retrieves the mime of file.
*
* @return {Promise} Promise which is resolved with the mime. Reject if failed.
*/
@@ -111,7 +111,7 @@ MediaManager.prototype.getMime = function() {
};
/**
- * Retrives the thumbnail urlof file.
+ * Retrieves the thumbnail url of file.
*
* @return {Promise} Promise which is resolved with the url. Reject if failed.
*/
@@ -125,7 +125,7 @@ MediaManager.prototype.getThumbnail = function() {
}.bind(this)).then(function(props) {
if (!props || !props[0] || !props[0].thumbnailUrl) {
// TODO(yoshiki): Adds a logic to guess the mime.
- return Promise.reject('Thuumbnail fetch failed.');
+ return Promise.reject('Thumbnail fetch failed.');
} else {
this.cachedDriveProp_ = props[0];
return props[0].thumbnailUrl;
« no previous file with comments | « ui/file_manager/video_player/js/cast/caster.js ('k') | ui/file_manager/video_player/js/error_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698