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/autocomplete/autocomplete_log.cc

Issue 11316057: Omnibox: Log Elapsed Time Since Last Time The Default Match Changed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_log.h ('k') | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/autocomplete/autocomplete_log.h" 5 #include "chrome/browser/autocomplete/autocomplete_log.h"
6 6
7 AutocompleteLog::AutocompleteLog( 7 AutocompleteLog::AutocompleteLog(
8 const string16& text, 8 const string16& text,
9 bool just_deleted_text, 9 bool just_deleted_text,
10 AutocompleteInput::Type input_type, 10 AutocompleteInput::Type input_type,
11 size_t selected_index, 11 size_t selected_index,
12 SessionID::id_type tab_id, 12 SessionID::id_type tab_id,
13 metrics::OmniboxEventProto::PageClassification current_page_classification, 13 metrics::OmniboxEventProto::PageClassification current_page_classification,
14 base::TimeDelta elapsed_time_since_user_first_modified_omnibox, 14 base::TimeDelta elapsed_time_since_user_first_modified_omnibox,
15 size_t inline_autocompleted_length, 15 size_t inline_autocompleted_length,
16 base::TimeDelta elapsed_time_since_last_change_to_default_match,
16 const AutocompleteResult& result) 17 const AutocompleteResult& result)
17 : text(text), 18 : text(text),
18 just_deleted_text(just_deleted_text), 19 just_deleted_text(just_deleted_text),
19 input_type(input_type), 20 input_type(input_type),
20 selected_index(selected_index), 21 selected_index(selected_index),
21 tab_id(tab_id), 22 tab_id(tab_id),
22 current_page_classification(current_page_classification), 23 current_page_classification(current_page_classification),
23 elapsed_time_since_user_first_modified_omnibox( 24 elapsed_time_since_user_first_modified_omnibox(
24 elapsed_time_since_user_first_modified_omnibox), 25 elapsed_time_since_user_first_modified_omnibox),
25 inline_autocompleted_length(inline_autocompleted_length), 26 inline_autocompleted_length(inline_autocompleted_length),
27 elapsed_time_since_last_change_to_default_match(
28 elapsed_time_since_last_change_to_default_match),
26 result(result), 29 result(result),
27 providers_info() { 30 providers_info() {
28 } 31 }
29 32
30 AutocompleteLog::~AutocompleteLog() { 33 AutocompleteLog::~AutocompleteLog() {
31 } 34 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_log.h ('k') | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698