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

Side by Side Diff: chrome/browser/resources/predictors/resource_prefetch_predictor.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: hackhackhack Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Requests the database from the backend. 6 * Requests the database from the backend.
7 */ 7 */
8 function requestResourcePrefetchPredictorDb() { 8 function requestResourcePrefetchPredictorDb() {
9 chrome.send('requestResourcePrefetchPredictorDb'); 9 chrome.send('requestResourcePrefetchPredictorDb');
10 } 10 }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 resource.consecutive_misses; 91 resource.consecutive_misses;
92 row.appendChild(document.createElement('td')).textContent = 92 row.appendChild(document.createElement('td')).textContent =
93 resource.position; 93 resource.position;
94 row.appendChild(document.createElement('td')).textContent = 94 row.appendChild(document.createElement('td')).textContent =
95 resource.score; 95 resource.score;
96 body.appendChild(row); 96 body.appendChild(row);
97 } 97 }
98 } 98 }
99 } 99 }
100 100
101 document.addEventListener('DOMContentLoaded', 101 document.addEventListener(
102 requestResourcePrefetchPredictorDb); 102 'DOMContentLoaded', requestResourcePrefetchPredictorDb);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698