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 AutocompleteInput::Type input_type
,
11 size_t selected_index
,
12 SessionID::id_type tab_id
,
13 AutocompleteInput::PageClassification current_page_classification
,
14 base::TimeDelta elapsed_time_since_user_first_modified_omnibox
,
15 size_t completed_length
,
16 base::TimeDelta elapsed_time_since_last_change_to_default_match
,
17 const AutocompleteResult
& result
)
19 just_deleted_text(just_deleted_text
),
20 input_type(input_type
),
21 selected_index(selected_index
),
23 current_page_classification(current_page_classification
),
24 elapsed_time_since_user_first_modified_omnibox(
25 elapsed_time_since_user_first_modified_omnibox
),
26 completed_length(completed_length
),
27 elapsed_time_since_last_change_to_default_match(
28 elapsed_time_since_last_change_to_default_match
),
33 OmniboxLog::~OmniboxLog() {}