| 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 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 AutocompleteInput::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 completed_length, | 15 size_t completed_length, |
| 16 base::TimeDelta elapsed_time_since_last_change_to_default_match, | 16 base::TimeDelta elapsed_time_since_last_change_to_default_match, |
| 17 const AutocompleteResult& result) | 17 const AutocompleteResult& result) |
| 18 : text(text), | 18 : text(text), |
| 19 just_deleted_text(just_deleted_text), | 19 just_deleted_text(just_deleted_text), |
| 20 input_type(input_type), | 20 input_type(input_type), |
| 21 selected_index(selected_index), | 21 selected_index(selected_index), |
| 22 tab_id(tab_id), | 22 tab_id(tab_id), |
| 23 current_page_classification(current_page_classification), | 23 current_page_classification(current_page_classification), |
| 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 elapsed_time_since_user_first_modified_omnibox), |
| 26 completed_length(completed_length), | 26 completed_length(completed_length), |
| 27 elapsed_time_since_last_change_to_default_match( | 27 elapsed_time_since_last_change_to_default_match( |
| 28 elapsed_time_since_last_change_to_default_match), | 28 elapsed_time_since_last_change_to_default_match), |
| 29 result(result), | 29 result(result), |
| 30 providers_info() { | 30 providers_info() { |
| 31 } | 31 } |
| 32 | 32 |
| 33 OmniboxLog::~OmniboxLog() {} | 33 OmniboxLog::~OmniboxLog() {} |
| OLD | NEW |