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

Side by Side Diff: components/metrics/proto/omnibox_event.proto

Issue 239093004: Move part of metrics from chrome/common to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittest that broke after rebase. Created 6 years, 8 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
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // containing the input 173 // containing the input
174 SEARCH_SUGGEST = 9; // A suggested search (with the default 174 SEARCH_SUGGEST = 9; // A suggested search (with the default
175 // engine) query that doesn't fall into one of 175 // engine) query that doesn't fall into one of
176 // the more specific suggestion categories 176 // the more specific suggestion categories
177 // below. 177 // below.
178 SEARCH_OTHER_ENGINE = 10; // A search with a non-default engine 178 SEARCH_OTHER_ENGINE = 10; // A search with a non-default engine
179 EXTENSION_APP = 11; // An Extension App with a title/url that 179 EXTENSION_APP = 11; // An Extension App with a title/url that
180 // contains the input 180 // contains the input
181 CONTACT = 12; // DEPRECATED. One of the user's contacts 181 CONTACT = 12; // DEPRECATED. One of the user's contacts
182 BOOKMARK_TITLE = 13; // A bookmark whose title contains the input. 182 BOOKMARK_TITLE = 13; // A bookmark whose title contains the input.
183 SEARCH_SUGGEST_ENTITY = 14; // A suggested search for an entity. 183 SEARCH_SUGGEST_ENTITY = 14; // A suggested search for an entity.
184 SEARCH_SUGGEST_INFINITE = 15; // A suggested search to complete the tail 184 SEARCH_SUGGEST_INFINITE = 15; // A suggested search to complete the tail
185 // of the query. 185 // of the query.
186 SEARCH_SUGGEST_PERSONALIZED = 16; // A personalized suggested search. 186 SEARCH_SUGGEST_PERSONALIZED = 16; // A personalized suggested search.
187 SEARCH_SUGGEST_PROFILE = 17; // A personalized suggested search for a 187 SEARCH_SUGGEST_PROFILE = 17; // A personalized suggested search for a
188 // Google+ profile. 188 // Google+ profile.
189 APP_RESULT = 18; // Result from an installed app 189 APP_RESULT = 18; // Result from an installed app
190 // (eg: a gmail email). 190 // (eg: a gmail email).
191 // Used by Android GSA for on-device 191 // Used by Android GSA for on-device
192 // suggestion logging. 192 // suggestion logging.
193 APP = 19; // An app result (eg: the gmail app). 193 APP = 19; // An app result (eg: the gmail app).
194 // Used by Android GSA for on-device 194 // Used by Android GSA for on-device
195 // suggestion logging. 195 // suggestion logging.
Ilya Sherman 2014/04/15 23:00:40 nit: Please revert the whitespace changes to this
196 } 196 }
197 optional ResultType result_type = 2; 197 optional ResultType result_type = 2;
198 198
199 // The relevance score for this suggestion. 199 // The relevance score for this suggestion.
200 optional int32 relevance = 3; 200 optional int32 relevance = 3;
201 201
202 // How many times this result was typed in / selected from the omnibox. 202 // How many times this result was typed in / selected from the omnibox.
203 // Only set for some providers and result_types. At the time of 203 // Only set for some providers and result_types. At the time of
204 // writing this comment, it is only set for HistoryURL and 204 // writing this comment, it is only set for HistoryURL and
205 // HistoryQuickProvider matches. 205 // HistoryQuickProvider matches.
(...skipping 29 matching lines...) Expand all
235 // See AutocompleteController::ResetSession() for more details on the 235 // See AutocompleteController::ResetSession() for more details on the
236 // definition of a session. 236 // definition of a session.
237 // See chrome/browser/autocomplete/search_provider.cc for a specific usage 237 // See chrome/browser/autocomplete/search_provider.cc for a specific usage
238 // example. 238 // example.
239 repeated fixed32 field_trial_triggered_in_session = 4; 239 repeated fixed32 field_trial_triggered_in_session = 4;
240 } 240 }
241 // A list of diagnostic information about each provider. Providers 241 // A list of diagnostic information about each provider. Providers
242 // will appear at most once in this list. 242 // will appear at most once in this list.
243 repeated ProviderInfo provider_info = 12; 243 repeated ProviderInfo provider_info = 12;
244 } 244 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698