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

Unified Diff: chrome/browser/resources/md_history/browser_service.js

Issue 2607653002: MD History: clang-format Javascript files (again!) (Closed)
Patch Set: Created 4 years 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 | « chrome/browser/resources/md_history/app.js ('k') | chrome/browser/resources/md_history/grouped_list.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/browser_service.js
diff --git a/chrome/browser/resources/md_history/browser_service.js b/chrome/browser/resources/md_history/browser_service.js
index 8f8f0c3b33b01c7e53cfe807c849e5fc7bacf6aa..a2a09ad48523697f77c374b214faf55af8e9de2a 100644
--- a/chrome/browser/resources/md_history/browser_service.js
+++ b/chrome/browser/resources/md_history/browser_service.js
@@ -24,7 +24,9 @@ cr.define('md_history', function() {
deleteItems: function(items) {
if (this.pendingDeleteItems_ != null) {
// There's already a deletion in progress, reject immediately.
- return new Promise(function(resolve, reject) { reject(items); });
+ return new Promise(function(resolve, reject) {
+ reject(items);
+ });
}
var removalList = items.map(function(item) {
@@ -45,7 +47,9 @@ cr.define('md_history', function() {
/**
* @param {!string} url
*/
- removeBookmark: function(url) { chrome.send('removeBookmark', [url]); },
+ removeBookmark: function(url) {
+ chrome.send('removeBookmark', [url]);
+ },
/**
* @param {string} sessionTag
@@ -74,7 +78,9 @@ cr.define('md_history', function() {
chrome.send('deleteForeignSession', [sessionTag]);
},
- openClearBrowsingData: function() { chrome.send('clearBrowsingData'); },
+ openClearBrowsingData: function() {
+ chrome.send('clearBrowsingData');
+ },
/**
* @param {string} histogram
@@ -114,7 +120,9 @@ cr.define('md_history', function() {
this.pendingDeletePromise_ = null;
},
- menuPromoShown: function() { chrome.send('menuPromoShown'); },
+ menuPromoShown: function() {
+ chrome.send('menuPromoShown');
+ },
};
cr.addSingletonGetter(BrowserService);
« no previous file with comments | « chrome/browser/resources/md_history/app.js ('k') | chrome/browser/resources/md_history/grouped_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698