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 // Sync protocol datatype extension for custom search engines. | 5 // Sync protocol datatype extension for custom search engines. |
6 | 6 |
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change |
8 // any fields in this file. | 8 // any fields in this file. |
9 | 9 |
10 syntax = "proto2"; | 10 syntax = "proto2"; |
(...skipping 15 matching lines...) Expand all Loading... | |
26 // A flag signifying whether it is safe to automatically modify this search | 26 // A flag signifying whether it is safe to automatically modify this search |
27 // engine entry or not. | 27 // engine entry or not. |
28 optional bool safe_for_autoreplace = 5; | 28 optional bool safe_for_autoreplace = 5; |
29 // The URL to the OSD file this search engine entry came from. | 29 // The URL to the OSD file this search engine entry came from. |
30 optional string originating_url = 6; | 30 optional string originating_url = 6; |
31 // The date this search engine entry was created. A UTC timestamp with units | 31 // The date this search engine entry was created. A UTC timestamp with units |
32 // in microseconds. | 32 // in microseconds. |
33 optional int64 date_created = 7; | 33 optional int64 date_created = 7; |
34 // A list of supported input encodings. | 34 // A list of supported input encodings. |
35 optional string input_encodings = 8; | 35 optional string input_encodings = 8; |
36 // Whether this entry is shown in the list of default search engines or not. | 36 // ID 9 reserved - previously used by show_in_default_list, now deprecated. |
Peter Kasting
2016/11/10 06:41:07
Get careful review from the sync folks as to exact
ltian
2016/11/11 03:52:13
Sure, I will double check with sync folks to make
| |
37 optional bool show_in_default_list = 9; | |
38 // The parameterized URL that provides suggestions as the user types. | 37 // The parameterized URL that provides suggestions as the user types. |
39 optional string suggestions_url = 10; | 38 optional string suggestions_url = 10; |
40 // The ID associated with the prepopulate data this search engine comes from. | 39 // The ID associated with the prepopulate data this search engine comes from. |
41 // Set to zero if it was not prepopulated. | 40 // Set to zero if it was not prepopulated. |
42 optional int32 prepopulate_id = 11; | 41 optional int32 prepopulate_id = 11; |
43 // DEPRECATED: Whether to autogenerate a keyword for the search engine or not. | 42 // DEPRECATED: Whether to autogenerate a keyword for the search engine or not. |
44 // Do not write to this field in the future. We preserve this for now so we | 43 // Do not write to this field in the future. We preserve this for now so we |
45 // can read the field in order to migrate existing data that sets this bit. | 44 // can read the field in order to migrate existing data that sets this bit. |
46 optional bool autogenerate_keyword = 12; | 45 optional bool autogenerate_keyword = 12; |
47 // ID 13 reserved - previously used by |logo_id|, now deprecated. | 46 // ID 13 reserved - previously used by |logo_id|, now deprecated. |
(...skipping 23 matching lines...) Expand all Loading... | |
71 // The following post_params are comma-separated lists used to specify the | 70 // The following post_params are comma-separated lists used to specify the |
72 // post parameters for the corresponding search URL. | 71 // post parameters for the corresponding search URL. |
73 optional string search_url_post_params = 22; | 72 optional string search_url_post_params = 22; |
74 optional string suggestions_url_post_params = 23; | 73 optional string suggestions_url_post_params = 23; |
75 optional string instant_url_post_params = 24; | 74 optional string instant_url_post_params = 24; |
76 optional string image_url_post_params = 25; | 75 optional string image_url_post_params = 25; |
77 | 76 |
78 // The parameterized URL for a search provider specified new tab page. | 77 // The parameterized URL for a search provider specified new tab page. |
79 optional string new_tab_url = 26; | 78 optional string new_tab_url = 26; |
80 } | 79 } |
OLD | NEW |