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

Unified Diff: chrome/browser/resources/md_history/history.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/history.js
diff --git a/chrome/browser/resources/md_history/history.js b/chrome/browser/resources/md_history/history.js
index cecf8082d530aee6c53c551d6d31f54da3001819..7248ec901a2155d955df4e50e6c77e42e7ba3488 100644
--- a/chrome/browser/resources/md_history/history.js
+++ b/chrome/browser/resources/md_history/history.js
@@ -38,7 +38,7 @@ function waitForAppUpgrade() {
*/
function historyResult(info, results) {
waitForAppUpgrade().then(function() {
- var app = /** @type {HistoryAppElement} */($('history-app'));
+ var app = /** @type {HistoryAppElement} */ ($('history-app'));
app.historyResult(info, results);
document.body.classList.remove('loading');
@@ -74,7 +74,7 @@ function showNotification(
*/
function setForeignSessions(sessionList) {
waitForAppUpgrade().then(function() {
- /** @type {HistoryAppElement} */($('history-app'))
+ /** @type {HistoryAppElement} */ ($('history-app'))
.setForeignSessions(sessionList);
});
}
@@ -84,8 +84,7 @@ function setForeignSessions(sessionList) {
*/
function historyDeleted() {
waitForAppUpgrade().then(function() {
- /** @type {HistoryAppElement} */($('history-app'))
- .historyDeleted();
+ /** @type {HistoryAppElement} */ ($('history-app')).historyDeleted();
});
}
@@ -96,7 +95,7 @@ function historyDeleted() {
function updateSignInState(isUserSignedIn) {
waitForAppUpgrade().then(function() {
if ($('history-app')) {
- /** @type {HistoryAppElement} */($('history-app'))
+ /** @type {HistoryAppElement} */ ($('history-app'))
.updateSignInState(isUserSignedIn);
}
});
« no previous file with comments | « chrome/browser/resources/md_history/grouped_list.js ('k') | chrome/browser/resources/md_history/history_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698