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.
5 #include "chrome/browser/omnibox/omnibox_log.h"
7 OmniboxLog::OmniboxLog(
8 const base::string16
& text
,
9 bool just_deleted_text
,
10 metrics::OmniboxInputType::Type input_type
,
12 size_t selected_index
,
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
)
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
),
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
),
37 OmniboxLog::~OmniboxLog() {}