OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/omnibox/omnibox_log.h" | 5 #include "chrome/browser/omnibox/omnibox_log.h" |
6 | 6 |
7 OmniboxLog::OmniboxLog( | 7 OmniboxLog::OmniboxLog( |
8 const base::string16& text, | 8 const base::string16& text, |
9 bool just_deleted_text, | 9 bool just_deleted_text, |
10 metrics::OmniboxInputType::Type input_type, | 10 AutocompleteInput::Type input_type, |
11 bool is_popup_open, | 11 bool is_popup_open, |
12 size_t selected_index, | 12 size_t selected_index, |
13 bool is_paste_and_go, | 13 bool is_paste_and_go, |
14 SessionID::id_type tab_id, | 14 SessionID::id_type tab_id, |
15 AutocompleteInput::PageClassification current_page_classification, | 15 AutocompleteInput::PageClassification current_page_classification, |
16 base::TimeDelta elapsed_time_since_user_first_modified_omnibox, | 16 base::TimeDelta elapsed_time_since_user_first_modified_omnibox, |
17 size_t completed_length, | 17 size_t completed_length, |
18 base::TimeDelta elapsed_time_since_last_change_to_default_match, | 18 base::TimeDelta elapsed_time_since_last_change_to_default_match, |
19 const AutocompleteResult& result) | 19 const AutocompleteResult& result) |
20 : text(text), | 20 : text(text), |
21 just_deleted_text(just_deleted_text), | 21 just_deleted_text(just_deleted_text), |
22 input_type(input_type), | 22 input_type(input_type), |
23 is_popup_open(is_popup_open), | 23 is_popup_open(is_popup_open), |
24 selected_index(selected_index), | 24 selected_index(selected_index), |
25 is_paste_and_go(is_paste_and_go), | 25 is_paste_and_go(is_paste_and_go), |
26 tab_id(tab_id), | 26 tab_id(tab_id), |
27 current_page_classification(current_page_classification), | 27 current_page_classification(current_page_classification), |
28 elapsed_time_since_user_first_modified_omnibox( | 28 elapsed_time_since_user_first_modified_omnibox( |
29 elapsed_time_since_user_first_modified_omnibox), | 29 elapsed_time_since_user_first_modified_omnibox), |
30 completed_length(completed_length), | 30 completed_length(completed_length), |
31 elapsed_time_since_last_change_to_default_match( | 31 elapsed_time_since_last_change_to_default_match( |
32 elapsed_time_since_last_change_to_default_match), | 32 elapsed_time_since_last_change_to_default_match), |
33 result(result), | 33 result(result), |
34 providers_info() { | 34 providers_info() { |
35 } | 35 } |
36 | 36 |
37 OmniboxLog::~OmniboxLog() {} | 37 OmniboxLog::~OmniboxLog() {} |
OLD | NEW |