Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: chrome/browser/omnibox/omnibox_log.cc

Issue 20747002: Make a copy of PageClassification enum outside the metrics code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ilya's comment Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/omnibox/omnibox_log.h ('k') | chrome/browser/ui/omnibox/omnibox_edit_model.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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() {}
OLDNEW
« no previous file with comments | « chrome/browser/omnibox/omnibox_log.h ('k') | chrome/browser/ui/omnibox/omnibox_edit_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698