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

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

Issue 10453013: Remove hit weight experiment (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trying rebase again - missing base file? Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 requestAutocompleteActionPredictorDb() { 8 function requestAutocompleteActionPredictorDb() {
9 console.debug('Requesting NAP DB'); 9 console.debug('Requesting NAP DB');
10 chrome.send('requestAutocompleteActionPredictorDb'); 10 chrome.send('requestAutocompleteActionPredictorDb');
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 entry.hit_count; 67 entry.hit_count;
68 row.appendChild(document.createElement('td')).textContent = 68 row.appendChild(document.createElement('td')).textContent =
69 entry.miss_count; 69 entry.miss_count;
70 row.appendChild(document.createElement('td')).textContent = 70 row.appendChild(document.createElement('td')).textContent =
71 entry.confidence; 71 entry.confidence;
72 72
73 databaseSection.appendChild(row); 73 databaseSection.appendChild(row);
74 } 74 }
75 } 75 }
76 $('countBanner').textContent = 'Entries: ' + databaseSection.children.length; 76 $('countBanner').textContent = 'Entries: ' + databaseSection.children.length;
77 $('countBanner').textContent += ' Hit Weight: ' + database.hit_weight;
78 } 77 }
79 78
80 document.addEventListener('DOMContentLoaded', 79 document.addEventListener('DOMContentLoaded',
81 requestAutocompleteActionPredictorDb); 80 requestAutocompleteActionPredictorDb);
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_histograms.cc ('k') | chrome/browser/ui/webui/predictors/predictors_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698