Index: chrome/browser/resources/predictors/predictors.js |
diff --git a/chrome/browser/resources/network_action_predictor/network_action_predictor.js b/chrome/browser/resources/predictors/predictors.js |
similarity index 89% |
rename from chrome/browser/resources/network_action_predictor/network_action_predictor.js |
rename to chrome/browser/resources/predictors/predictors.js |
index 11343cb9dd65c7ac4e10aeafe53e7e3091320710..ec8e14f9213088c83a83a4b9f93ebf9f461810bd 100644 |
--- a/chrome/browser/resources/network_action_predictor/network_action_predictor.js |
+++ b/chrome/browser/resources/predictors/predictors.js |
@@ -5,9 +5,9 @@ |
/** |
* Requests the database from the backend. |
*/ |
-function requestNetworkActionPredictorDb() { |
+function requestAutocompleteActionPredictorDb() { |
console.debug('Requesting NAP DB'); |
- chrome.send('requestNetworkActionPredictorDb', []) |
+ chrome.send('requestAutocompleteActionPredictorDb', []) |
} |
@@ -32,7 +32,7 @@ function updateDatabaseTable(database) { |
/** |
* Updates the table from the database. |
- * @param {Dictionary} database Information about NetworkActionPredictor |
+ * @param {Dictionary} database Information about AutocompleteActionPredictor |
* including the database as a flattened list, a boolean indicating if the |
* system is enabled and the current hit weight. |
*/ |
@@ -74,4 +74,4 @@ function updateDatabaseView(database) { |
$('countBanner').textContent += ' Hit Weight: ' + database.hit_weight; |
} |
-document.addEventListener('DOMContentLoaded', requestNetworkActionPredictorDb); |
+document.addEventListener('DOMContentLoaded', requestAutocompleteActionPredictorDb); |
dominich
2012/03/06 16:42:13
wrap line
Shishir
2012/03/14 21:14:37
Done.
|