Chromium Code Reviews| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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) |
| 168 SEARCH_OTHER_ENGINE = 10; // A search with a non-default engine | 168 SEARCH_OTHER_ENGINE = 10; // A search with a non-default engine |
| 169 EXTENSION_APP = 11; // An Extension App with a title/url that | 169 EXTENSION_APP = 11; // An Extension App with a title/url that |
| 170 // contains the input | 170 // contains the input |
| 171 CONTACT = 12; // One of the user's contacts | 171 CONTACT = 12; // One of the user's contacts |
| 172 BOOKMARK_TITLE = 13; // A bookmark whose title contains the input. | 172 BOOKMARK_TITLE = 13; // A bookmark whose title contains the input. |
| 173 SEARCH_SUGGEST_ENTITY = 14; // A suggested search for an entity. | |
| 174 SEARCH_SUGGEST_INFINITE = 15; // A suggested search to complete the tail | |
| 175 // of the query. | |
| 176 SEARCH_SUGGEST_PERSONALIZED = 16; // A personalized suggested search. | |
| 177 SEARCH_SUGGEST_PROFILE = 17; // A personalized suggested search for a | |
| 178 // Google+ profile. | |
|
Ilya Sherman
2013/12/10 01:28:23
What does SEARCH_SUGGEST now entail? Is that buck
Anuj
2013/12/10 01:39:45
Meaning of SEARCH_SUGGEST doesn't change. Although
Peter Kasting
2013/12/10 03:52:30
Don't rename SEARCH_SUGGEST, but do update the com
Mark P
2013/12/10 15:10:18
+1 to this suggestion.
And, when this is resolved
Anuj
2013/12/10 23:08:09
Done.
Anuj
2013/12/10 23:08:09
Done.
| |
| 173 } | 179 } |
| 174 optional ResultType result_type = 2; | 180 optional ResultType result_type = 2; |
| 175 | 181 |
| 176 // The relevance score for this suggestion. | 182 // The relevance score for this suggestion. |
| 177 optional int32 relevance = 3; | 183 optional int32 relevance = 3; |
| 178 | 184 |
| 179 // How many times this result was typed in / selected from the omnibox. | 185 // 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 | 186 // Only set for some providers and result_types. At the time of |
| 181 // writing this comment, it is only set for HistoryURL and | 187 // writing this comment, it is only set for HistoryURL and |
| 182 // HistoryQuickProvider matches. | 188 // HistoryQuickProvider matches. |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 212 // See AutocompleteController::ResetSession() for more details on the | 218 // See AutocompleteController::ResetSession() for more details on the |
| 213 // definition of a session. | 219 // definition of a session. |
| 214 // See chrome/browser/autocomplete/search_provider.cc for a specific usage | 220 // See chrome/browser/autocomplete/search_provider.cc for a specific usage |
| 215 // example. | 221 // example. |
| 216 repeated fixed32 field_trial_triggered_in_session = 4; | 222 repeated fixed32 field_trial_triggered_in_session = 4; |
| 217 } | 223 } |
| 218 // A list of diagnostic information about each provider. Providers | 224 // A list of diagnostic information about each provider. Providers |
| 219 // will appear at most once in this list. | 225 // will appear at most once in this list. |
| 220 repeated ProviderInfo provider_info = 12; | 226 repeated ProviderInfo provider_info = 12; |
| 221 } | 227 } |
| OLD | NEW |