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

Unified Diff: ui/file_manager/file_manager/foreground/js/share_dialog.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
Index: ui/file_manager/file_manager/foreground/js/share_dialog.js
diff --git a/ui/file_manager/file_manager/foreground/js/share_dialog.js b/ui/file_manager/file_manager/foreground/js/share_dialog.js
index c95a51a5cca2682bcd795743ff3852d26de8e999..4bdc23e428652097a46d9e63c0ed117aa9f7659b 100644
--- a/ui/file_manager/file_manager/foreground/js/share_dialog.js
+++ b/ui/file_manager/file_manager/foreground/js/share_dialog.js
@@ -70,9 +70,9 @@ ShareDialog.WebViewAuthorizer.prototype.initialize = function(callback) {
var registerInjectionHooks = function() {
this.webView_.removeEventListener('loadstop', registerInjectionHooks);
this.webView_.request.onBeforeSendHeaders.addListener(
- this.authorizeRequest_.bind(this),
- {urls: [this.urlPattern_]},
- ['blocking', 'requestHeaders']);
+ this.authorizeRequest_.bind(this),
+ {urls: [this.urlPattern_]},
+ ['blocking', 'requestHeaders']);
this.initialized_ = true;
callback();
}.bind(this);
@@ -282,10 +282,10 @@ ShareDialog.prototype.show = function(entry, callback) {
group.run(function() {
// If the url is not obtained, return the network error.
if (!shareUrl) {
- // Logs added temporarily to track crbug.com/288783.
- console.debug('The share URL is not available.');
+ // Logs added temporarily to track crbug.com/288783.
+ console.debug('The share URL is not available.');
- this.hideWithResult(ShareDialog.Result.NETWORK_ERROR);
+ this.hideWithResult(ShareDialog.Result.NETWORK_ERROR);
return;
}
// Already inactive, therefore ignore.

Powered by Google App Engine
This is Rietveld 408576698