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

Side by Side Diff: chrome/common/metrics/proto/omnibox_event.proto

Issue 21395002: [InstantExtended] Fixing how PageLoadSRP is emitted. Previously it was emitted only for Instant sea… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary include 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Stores information about an omnibox interaction. 5 // Stores information about an omnibox interaction.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 BLANK = 2; // about:blank 67 BLANK = 2; // about:blank
68 HOMEPAGE = 3; // user switched settings to "open this page" mode. 68 HOMEPAGE = 3; // user switched settings to "open this page" mode.
69 // Note that if the homepage is set to the new tab page or about blank, 69 // Note that if the homepage is set to the new tab page or about blank,
70 // then we'll classify the web page into those categories, not HOMEPAGE. 70 // then we'll classify the web page into those categories, not HOMEPAGE.
71 OTHER = 4; // everything not included somewhere else on this list 71 OTHER = 4; // everything not included somewhere else on this list
72 INSTANT_NEW_TAB_PAGE = 5; // new tab page rendered by Instant 72 INSTANT_NEW_TAB_PAGE = 5; // new tab page rendered by Instant
73 // The user is on a search result page that's doing search term 73 // The user is on a search result page that's doing search term
74 // replacement, meaning the search terms should've appeared in the omnibox 74 // replacement, meaning the search terms should've appeared in the omnibox
75 // before the user started editing it, not the URL of the page. 75 // before the user started editing it, not the URL of the page.
76 SEARCH_RESULT_PAGE_DOING_SEARCH_TERM_REPLACEMENT = 6; 76 SEARCH_RESULT_PAGE_DOING_SEARCH_TERM_REPLACEMENT = 6;
77 // The user in a search result page that's not doing search term
78 // replacement, meaning the URL of the page shows in the omnibox.
79 SEARCH_RESULT_PAGE_NOT_DOING_SEARCH_TERM_REPLACEMENT = 7;
77 } 80 }
78 optional PageClassification current_page_classification = 10; 81 optional PageClassification current_page_classification = 10;
79 82
80 // What kind of input the user provided. 83 // What kind of input the user provided.
81 enum InputType { 84 enum InputType {
82 INVALID = 0; // Empty input (should not reach here) 85 INVALID = 0; // Empty input (should not reach here)
83 UNKNOWN = 1; // Valid input whose type cannot be determined 86 UNKNOWN = 1; // Valid input whose type cannot be determined
84 REQUESTED_URL = 2; // DEPRECATED. Input autodetected as UNKNOWN, which the 87 REQUESTED_URL = 2; // DEPRECATED. Input autodetected as UNKNOWN, which the
85 // user wants to treat as an URL by specifying a 88 // user wants to treat as an URL by specifying a
86 // desired_tld 89 // desired_tld
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // See AutocompleteController::ResetSession() for more details on the 181 // See AutocompleteController::ResetSession() for more details on the
179 // definition of a session. 182 // definition of a session.
180 // See chrome/browser/autocomplete/search_provider.cc for a specific usage 183 // See chrome/browser/autocomplete/search_provider.cc for a specific usage
181 // example. 184 // example.
182 repeated fixed32 field_trial_triggered_in_session = 4; 185 repeated fixed32 field_trial_triggered_in_session = 4;
183 } 186 }
184 // A list of diagnostic information about each provider. Providers 187 // A list of diagnostic information about each provider. Providers
185 // will appear at most once in this list. 188 // will appear at most once in this list.
186 repeated ProviderInfo provider_info = 12; 189 repeated ProviderInfo provider_info = 12;
187 } 190 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698