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