OLD | NEW |
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 HISTORY_TITLE = 3; // A past page whose title contains the input | 157 HISTORY_TITLE = 3; // A past page whose title contains the input |
158 HISTORY_BODY = 4; // A past page whose body contains the input | 158 HISTORY_BODY = 4; // A past page whose body contains the input |
159 HISTORY_KEYWORD = 5; // A past page whose keyword contains the | 159 HISTORY_KEYWORD = 5; // A past page whose keyword contains the |
160 // input | 160 // input |
161 NAVSUGGEST = 6; // A suggested URL | 161 NAVSUGGEST = 6; // A suggested URL |
162 SEARCH_WHAT_YOU_TYPED = 7; // The input as a search query (with the | 162 SEARCH_WHAT_YOU_TYPED = 7; // The input as a search query (with the |
163 // default engine) | 163 // default engine) |
164 SEARCH_HISTORY = 8; // A past search (with the default engine) | 164 SEARCH_HISTORY = 8; // A past search (with the default engine) |
165 // containing the input | 165 // containing the input |
166 SEARCH_SUGGEST = 9; // A suggested search (with the default | 166 SEARCH_SUGGEST = 9; // A suggested search (with the default |
167 // engine) | 167 // engine) query that doesn't fall into one of |
| 168 // the more specific suggestion categories |
| 169 // below. |
168 SEARCH_OTHER_ENGINE = 10; // A search with a non-default engine | 170 SEARCH_OTHER_ENGINE = 10; // A search with a non-default engine |
169 EXTENSION_APP = 11; // An Extension App with a title/url that | 171 EXTENSION_APP = 11; // An Extension App with a title/url that |
170 // contains the input | 172 // contains the input |
171 CONTACT = 12; // One of the user's contacts | 173 CONTACT = 12; // One of the user's contacts |
172 BOOKMARK_TITLE = 13; // A bookmark whose title contains the input. | 174 BOOKMARK_TITLE = 13; // A bookmark whose title contains the input. |
| 175 SEARCH_SUGGEST_ENTITY = 14; // A suggested search for an entity. |
| 176 SEARCH_SUGGEST_INFINITE = 15; // A suggested search to complete the tail |
| 177 // of the query. |
| 178 SEARCH_SUGGEST_PERSONALIZED = 16; // A personalized suggested search. |
| 179 SEARCH_SUGGEST_PROFILE = 17; // A personalized suggested search for a |
| 180 // Google+ profile. |
173 } | 181 } |
174 optional ResultType result_type = 2; | 182 optional ResultType result_type = 2; |
175 | 183 |
176 // The relevance score for this suggestion. | 184 // The relevance score for this suggestion. |
177 optional int32 relevance = 3; | 185 optional int32 relevance = 3; |
178 | 186 |
179 // How many times this result was typed in / selected from the omnibox. | 187 // How many times this result was typed in / selected from the omnibox. |
180 // Only set for some providers and result_types. At the time of | 188 // Only set for some providers and result_types. At the time of |
181 // writing this comment, it is only set for HistoryURL and | 189 // writing this comment, it is only set for HistoryURL and |
182 // HistoryQuickProvider matches. | 190 // HistoryQuickProvider matches. |
(...skipping 29 matching lines...) Expand all Loading... |
212 // See AutocompleteController::ResetSession() for more details on the | 220 // See AutocompleteController::ResetSession() for more details on the |
213 // definition of a session. | 221 // definition of a session. |
214 // See chrome/browser/autocomplete/search_provider.cc for a specific usage | 222 // See chrome/browser/autocomplete/search_provider.cc for a specific usage |
215 // example. | 223 // example. |
216 repeated fixed32 field_trial_triggered_in_session = 4; | 224 repeated fixed32 field_trial_triggered_in_session = 4; |
217 } | 225 } |
218 // A list of diagnostic information about each provider. Providers | 226 // A list of diagnostic information about each provider. Providers |
219 // will appear at most once in this list. | 227 // will appear at most once in this list. |
220 repeated ProviderInfo provider_info = 12; | 228 repeated ProviderInfo provider_info = 12; |
221 } | 229 } |
OLD | NEW |