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

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

Issue 2578013002: [MD History] clang-format all javascript. (Closed)
Patch Set: rebase 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
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 36e973131a37f7c6edc06a956c585d6f66dc6695..8f8f0c3b33b01c7e53cfe807c849e5fc7bacf6aa 100644
--- a/chrome/browser/resources/md_history/browser_service.js
+++ b/chrome/browser/resources/md_history/browser_service.js
@@ -30,7 +30,7 @@ cr.define('md_history', function() {
var removalList = items.map(function(item) {
return {
url: item.url,
- timestamps: item.allTimestamps
+ timestamps: item.allTimestamps,
};
});
@@ -45,9 +45,7 @@ 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
@@ -76,9 +74,7 @@ cr.define('md_history', function() {
chrome.send('deleteForeignSession', [sessionTag]);
},
- openClearBrowsingData: function() {
- chrome.send('clearBrowsingData');
- },
+ openClearBrowsingData: function() { chrome.send('clearBrowsingData'); },
/**
* @param {string} histogram
@@ -118,9 +114,7 @@ cr.define('md_history', function() {
this.pendingDeletePromise_ = null;
},
- menuPromoShown: function() {
- chrome.send('menuPromoShown');
- },
+ menuPromoShown: function() { chrome.send('menuPromoShown'); },
};
cr.addSingletonGetter(BrowserService);
@@ -141,4 +135,3 @@ function deleteComplete() {
function deleteFailed() {
md_history.BrowserService.getInstance().resolveDelete_(false);
}
-
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | chrome/browser/resources/md_history/constants.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698