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

Unified Diff: ui/file_manager/image_loader/request.js

Issue 571453002: Correct indentation, JSDoc, etc... to comply with closure linter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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/image_loader/image_loader_client.js ('k') | ui/file_manager/video_player/js/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/image_loader/request.js
diff --git a/ui/file_manager/image_loader/request.js b/ui/file_manager/image_loader/request.js
index dc17c7ea53993ad073810081b08a12a5b5518ea2..cc7c84d4e3adb34055071bc43d544a314394b984 100644
--- a/ui/file_manager/image_loader/request.js
+++ b/ui/file_manager/image_loader/request.js
@@ -371,9 +371,8 @@ Request.prototype.sendImage_ = function(imageChanged) {
* @private
*/
Request.prototype.sendImageData_ = function(data) {
- this.sendResponse_({status: 'success',
- data: data,
- taskId: this.request_.taskId});
+ this.sendResponse_(
+ {status: 'success', data: data, taskId: this.request_.taskId});
};
/**
@@ -407,8 +406,8 @@ Request.prototype.onImageLoad_ = function(callback) {
* @private
*/
Request.prototype.onImageError_ = function(callback) {
- this.sendResponse_({status: 'error',
- taskId: this.request_.taskId});
+ this.sendResponse_(
+ {status: 'error', taskId: this.request_.taskId});
this.cleanup_();
this.downloadCallback_();
};
« no previous file with comments | « ui/file_manager/image_loader/image_loader_client.js ('k') | ui/file_manager/video_player/js/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698