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

Unified Diff: chrome/browser/resources/md_downloads/action_service.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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: chrome/browser/resources/md_downloads/action_service.js
diff --git a/chrome/browser/resources/md_downloads/action_service.js b/chrome/browser/resources/md_downloads/action_service.js
index c3557124dea08ddc18ac5b46061bc0cda63d6d74..7dec7eec0d78648d6c8583cbc6cdbf27d0762ef2 100644
--- a/chrome/browser/resources/md_downloads/action_service.js
+++ b/chrome/browser/resources/md_downloads/action_service.js
@@ -8,7 +8,9 @@ cr.define('downloads', function() {
* @return {function(string):void} A chrome.send() callback with curried name.
*/
function chromeSendWithId(chromeSendName) {
- return function(id) { chrome.send(chromeSendName, [id]); };
+ return function(id) {
+ chrome.send(chromeSendName, [id]);
+ };
}
/** @constructor */
@@ -21,13 +23,17 @@ cr.define('downloads', function() {
* @param {string} s
* @return {string} |s| without whitespace at the beginning or end.
*/
- function trim(s) { return s.trim(); }
+ function trim(s) {
+ return s.trim();
+ }
/**
* @param {string|undefined} value
* @return {boolean} Whether |value| is truthy.
*/
- function truthy(value) { return !!value; }
+ function truthy(value) {
+ return !!value;
+ }
/**
* @param {string} searchText Input typed by the user into a search box.

Powered by Google App Engine
This is Rietveld 408576698