| OLD | NEW |
| 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 } |
| OLD | NEW |