Chromium Code Reviews| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 154 KEYWORD = 5; // Keyword-triggered searches | 154 KEYWORD = 5; // Keyword-triggered searches |
| 155 BUILTIN = 6; // Built-in URLs, such as chrome://version | 155 BUILTIN = 6; // Built-in URLs, such as chrome://version |
| 156 SHORTCUTS = 7; // Recently selected omnibox suggestions | 156 SHORTCUTS = 7; // Recently selected omnibox suggestions |
| 157 EXTENSION_APPS = 8; // DEPRECATED. Suggestions from extensions or apps | 157 EXTENSION_APPS = 8; // DEPRECATED. Suggestions from extensions or apps |
| 158 CONTACT = 9; // DEPRECATED. The user's contacts | 158 CONTACT = 9; // DEPRECATED. The user's contacts |
| 159 BOOKMARK = 10; // The user's bookmarks | 159 BOOKMARK = 10; // The user's bookmarks |
| 160 ZERO_SUGGEST = 11; // Suggestions based on the current page | 160 ZERO_SUGGEST = 11; // Suggestions based on the current page |
| 161 // This enum value is currently only used by Android GSA. It represents | 161 // This enum value is currently only used by Android GSA. It represents |
| 162 // a suggestion from the phone. | 162 // a suggestion from the phone. |
| 163 ON_DEVICE = 12; | 163 ON_DEVICE = 12; |
| 164 // This enum value is currently only used by Android GSA. It represents | |
| 165 // a suggestion powered by a chrome content provider. | |
|
Ilya Sherman
2014/08/01 17:37:47
nit: "chrome" -> "Chrome"
Mark P
2014/08/01 18:00:47
Done.
| |
| 166 ON_DEVICE_CHROME = 13; | |
| 164 } | 167 } |
| 165 | 168 |
| 166 // The result set displayed on the completion popup | 169 // The result set displayed on the completion popup |
| 167 // Next tag: 7 | 170 // Next tag: 7 |
| 168 message Suggestion { | 171 message Suggestion { |
| 169 // Where does this result come from? | 172 // Where does this result come from? |
| 170 optional ProviderType provider = 1; | 173 optional ProviderType provider = 1; |
| 171 | 174 |
| 172 // What kind of result this is. | 175 // What kind of result this is. |
| 173 // This corresponds to the AutocompleteMatch::Type enumeration in | 176 // This corresponds to the AutocompleteMatch::Type enumeration in |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 266 // The number of times this provider returned a non-zero number of | 269 // The number of times this provider returned a non-zero number of |
| 267 // suggestions during this omnibox session. | 270 // suggestions during this omnibox session. |
| 268 // Note that each provider may define a session differently for its | 271 // Note that each provider may define a session differently for its |
| 269 // purposes. | 272 // purposes. |
| 270 optional int32 times_returned_results_in_session = 5; | 273 optional int32 times_returned_results_in_session = 5; |
| 271 } | 274 } |
| 272 // A list of diagnostic information about each provider. Providers | 275 // A list of diagnostic information about each provider. Providers |
| 273 // will appear at most once in this list. | 276 // will appear at most once in this list. |
| 274 repeated ProviderInfo provider_info = 12; | 277 repeated ProviderInfo provider_info = 12; |
| 275 } | 278 } |
| OLD | NEW |