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

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

Issue 795343002: Omnibox Watcher: Don't Flag Incidents that are Paste+Enter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rlz unittest Created 6 years 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
« no previous file with comments | « chrome/browser/omnibox/omnibox_log.h ('k') | chrome/browser/rlz/rlz_unittest.cc » ('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 base::string16& text, 8 const base::string16& text,
9 bool just_deleted_text, 9 bool just_deleted_text,
10 metrics::OmniboxInputType::Type input_type, 10 metrics::OmniboxInputType::Type input_type,
11 bool is_popup_open, 11 bool is_popup_open,
12 size_t selected_index, 12 size_t selected_index,
13 bool is_paste_and_go, 13 bool is_paste_and_go,
14 bool last_action_was_paste,
14 SessionID::id_type tab_id, 15 SessionID::id_type tab_id,
15 metrics::OmniboxEventProto::PageClassification current_page_classification, 16 metrics::OmniboxEventProto::PageClassification current_page_classification,
16 base::TimeDelta elapsed_time_since_user_first_modified_omnibox, 17 base::TimeDelta elapsed_time_since_user_first_modified_omnibox,
17 size_t completed_length, 18 size_t completed_length,
18 base::TimeDelta elapsed_time_since_last_change_to_default_match, 19 base::TimeDelta elapsed_time_since_last_change_to_default_match,
19 const AutocompleteResult& result) 20 const AutocompleteResult& result)
20 : text(text), 21 : text(text),
21 just_deleted_text(just_deleted_text), 22 just_deleted_text(just_deleted_text),
22 input_type(input_type), 23 input_type(input_type),
23 is_popup_open(is_popup_open), 24 is_popup_open(is_popup_open),
24 selected_index(selected_index), 25 selected_index(selected_index),
25 is_paste_and_go(is_paste_and_go), 26 is_paste_and_go(is_paste_and_go),
27 last_action_was_paste(last_action_was_paste),
26 tab_id(tab_id), 28 tab_id(tab_id),
27 current_page_classification(current_page_classification), 29 current_page_classification(current_page_classification),
28 elapsed_time_since_user_first_modified_omnibox( 30 elapsed_time_since_user_first_modified_omnibox(
29 elapsed_time_since_user_first_modified_omnibox), 31 elapsed_time_since_user_first_modified_omnibox),
30 completed_length(completed_length), 32 completed_length(completed_length),
31 elapsed_time_since_last_change_to_default_match( 33 elapsed_time_since_last_change_to_default_match(
32 elapsed_time_since_last_change_to_default_match), 34 elapsed_time_since_last_change_to_default_match),
33 result(result), 35 result(result),
34 providers_info() { 36 providers_info() {
35 } 37 }
36 38
37 OmniboxLog::~OmniboxLog() {} 39 OmniboxLog::~OmniboxLog() {}
OLDNEW
« no previous file with comments | « chrome/browser/omnibox/omnibox_log.h ('k') | chrome/browser/rlz/rlz_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698