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

Unified Diff: chrome/browser/metrics/metrics_log.cc

Issue 10273019: Omnibox: Add logging of what type of page was displayed when it's used (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Line wrapping. Created 8 years, 8 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 | « chrome/browser/autocomplete/autocomplete_edit.cc ('k') | chrome/common/metrics/proto/omnibox_event.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/metrics_log.cc
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index 453eb6384d2239d0f2b647173f1e141b6726a9e4..43a8d5563d7aca0fa5822b7f621f789f3ffc42e8 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -938,6 +938,8 @@ void MetricsLog::RecordOmniboxOpenedURL(const AutocompleteLog& log) {
omnibox_event->set_typing_duration_ms(
log.elapsed_time_since_user_first_modified_omnibox.InMilliseconds());
}
+ omnibox_event->set_current_page_classification(
+ log.current_page_classification);
omnibox_event->set_input_type(AsOmniboxEventInputType(log.input_type));
for (AutocompleteResult::const_iterator i(log.result.begin());
i != log.result.end(); ++i) {
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit.cc ('k') | chrome/common/metrics/proto/omnibox_event.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698