OLD | NEW |
---|---|
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
197 APP = 19; // An app result (eg: the gmail app). | 197 APP = 19; // An app result (eg: the gmail app). |
198 // Used by Android GSA for on-device | 198 // Used by Android GSA for on-device |
199 // suggestion logging. | 199 // suggestion logging. |
200 LEGACY_ON_DEVICE = 20; // An on-device result from a legacy | 200 LEGACY_ON_DEVICE = 20; // An on-device result from a legacy |
201 // provider. That is, this result is not | 201 // provider. That is, this result is not |
202 // from the on-device suggestion provider | 202 // from the on-device suggestion provider |
203 // (go/icing). This field is | 203 // (go/icing). This field is |
204 // used by Android GSA for on-device | 204 // used by Android GSA for on-device |
205 // suggestion logging. | 205 // suggestion logging. |
206 NAVSUGGEST_PERSONALIZED = 21; // A personalized url. | 206 NAVSUGGEST_PERSONALIZED = 21; // A personalized url. |
207 SEARCH_SUGGEST_ANSWER = 22; // A short result for a suggested search. | |
Alexei Svitkine (slow)
2014/06/11 17:04:45
Please get this change committed to the google3 ve
Justin Donnelly
2014/06/11 17:21:39
Will do. I assume you're referring to //logs/prot
| |
207 } | 208 } |
208 optional ResultType result_type = 2; | 209 optional ResultType result_type = 2; |
209 | 210 |
210 // The relevance score for this suggestion. | 211 // The relevance score for this suggestion. |
211 optional int32 relevance = 3; | 212 optional int32 relevance = 3; |
212 | 213 |
213 // How many times this result was typed in / selected from the omnibox. | 214 // How many times this result was typed in / selected from the omnibox. |
214 // Only set for some providers and result_types. At the time of | 215 // Only set for some providers and result_types. At the time of |
215 // writing this comment, it is only set for HistoryURL and | 216 // writing this comment, it is only set for HistoryURL and |
216 // HistoryQuickProvider matches. | 217 // HistoryQuickProvider matches. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
252 // The number of times this provider returned a non-zero number of | 253 // The number of times this provider returned a non-zero number of |
253 // suggestions during this omnibox session. | 254 // suggestions during this omnibox session. |
254 // Note that each provider may define a session differently for its | 255 // Note that each provider may define a session differently for its |
255 // purposes. | 256 // purposes. |
256 optional int32 times_returned_results_in_session = 5; | 257 optional int32 times_returned_results_in_session = 5; |
257 } | 258 } |
258 // A list of diagnostic information about each provider. Providers | 259 // A list of diagnostic information about each provider. Providers |
259 // will appear at most once in this list. | 260 // will appear at most once in this list. |
260 repeated ProviderInfo provider_info = 12; | 261 repeated ProviderInfo provider_info = 12; |
261 } | 262 } |
OLD | NEW |