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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit.cc

Issue 10380041: Refactoring AutocompleteActionPredictor Database. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Syncing to HEAD 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit.cc
diff --git a/chrome/browser/autocomplete/autocomplete_edit.cc b/chrome/browser/autocomplete/autocomplete_edit.cc
index 7190cdbd7e6a0fce47a2206bf09c1a6b08b4056f..cb409fdcae139537a0300718eb6216e3c98ea6e7 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit.cc
@@ -54,6 +54,8 @@
#include "third_party/skia/include/core/SkBitmap.h"
using content::UserMetricsAction;
+using predictors::AutocompleteActionPredictor;
+using predictors::AutocompleteActionPredictorFactory;
///////////////////////////////////////////////////////////////////////////////
// AutocompleteEditController
@@ -244,7 +246,8 @@ void AutocompleteEditModel::OnChanged() {
action_predictor->RecommendAction(user_text_, current_match);
}
- UMA_HISTOGRAM_ENUMERATION("NetworkActionPredictor.Action", recommended_action,
+ UMA_HISTOGRAM_ENUMERATION("AutocompleteActionPredictor.Action",
+ recommended_action,
AutocompleteActionPredictor::LAST_PREDICT_ACTION);
string16 suggested_text;
« no previous file with comments | « no previous file | chrome/browser/browser_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698