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

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

Issue 815273002: Remove and deprecate SEARCH_SUGGEST_ANSWER (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing suggest answer enum from java Created 5 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 APP = 19; // An app result (eg: the gmail app). 210 APP = 19; // An app result (eg: the gmail app).
211 // Used by Android GSA for on-device 211 // Used by Android GSA for on-device
212 // suggestion logging. 212 // suggestion logging.
213 LEGACY_ON_DEVICE = 20; // An on-device result from a legacy 213 LEGACY_ON_DEVICE = 20; // An on-device result from a legacy
214 // provider. That is, this result is not 214 // provider. That is, this result is not
215 // from the on-device suggestion provider 215 // from the on-device suggestion provider
216 // (go/icing). This field is 216 // (go/icing). This field is
217 // used by Android GSA for on-device 217 // used by Android GSA for on-device
218 // suggestion logging. 218 // suggestion logging.
219 NAVSUGGEST_PERSONALIZED = 21; // A personalized url. 219 NAVSUGGEST_PERSONALIZED = 21; // A personalized url.
220 SEARCH_SUGGEST_ANSWER = 22; // A short result for a suggested search. 220 SEARCH_SUGGEST_ANSWER = 22; // DEPRECATED. Answers no longer have their
221 // own type but instead can be attached to
222 // suggestions of any type.
221 } 223 }
222 optional ResultType result_type = 2; 224 optional ResultType result_type = 2;
223 225
224 // The relevance score for this suggestion. 226 // The relevance score for this suggestion.
225 optional int32 relevance = 3; 227 optional int32 relevance = 3;
226 228
227 // How many times this result was typed in / selected from the omnibox. 229 // How many times this result was typed in / selected from the omnibox.
228 // Only set for some providers and result_types. At the time of 230 // Only set for some providers and result_types. At the time of
229 // writing this comment, it is only set for HistoryURL and 231 // writing this comment, it is only set for HistoryURL and
230 // HistoryQuickProvider matches. 232 // HistoryQuickProvider matches.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 // The number of times this provider returned a non-zero number of 271 // The number of times this provider returned a non-zero number of
270 // suggestions during this omnibox session. 272 // suggestions during this omnibox session.
271 // Note that each provider may define a session differently for its 273 // Note that each provider may define a session differently for its
272 // purposes. 274 // purposes.
273 optional int32 times_returned_results_in_session = 5; 275 optional int32 times_returned_results_in_session = 5;
274 } 276 }
275 // A list of diagnostic information about each provider. Providers 277 // A list of diagnostic information about each provider. Providers
276 // will appear at most once in this list. 278 // will appear at most once in this list.
277 repeated ProviderInfo provider_info = 12; 279 repeated ProviderInfo provider_info = 12;
278 } 280 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698