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. |
37 optional bool show_in_default_list = 9; | |
Nicolas Zea
2016/11/14 20:48:10
Just to be clear, all old versions of Chrome are g
ltian
2016/11/15 19:43:41
Thanks for letting me know and I think it should b
Peter Kasting
2016/11/15 19:53:14
To be clear, he's saying that people running the o
| |
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. |
48 // Obsolete field. This used to represent whether or not this search engine | 47 // Obsolete field. This used to represent whether or not this search engine |
49 // entry was created automatically by an administrator via group policy. This | 48 // entry was created automatically by an administrator via group policy. This |
50 // notion no longer exists amongst synced search engines as we do not want to | 49 // notion no longer exists amongst synced search engines as we do not want to |
51 // sync managed search engines. | 50 // sync managed search engines. |
52 // optional bool deprecated_created_by_policy = 14; | 51 // optional bool deprecated_created_by_policy = 14; |
Nicolas Zea
2016/11/14 20:48:10
Prefer deprecating in this fashion: rename to depr
ltian
2016/11/15 19:43:41
Done.
| |
53 // The parameterized URL that is used for Instant results. | 52 // The parameterized URL that is used for Instant results. |
54 optional string instant_url = 15; | 53 optional string instant_url = 15; |
55 // ID 16 reserved - previously used by |id|, now deprecated. | 54 // ID 16 reserved - previously used by |id|, now deprecated. |
56 // The last time this entry was modified by a user. A UTC timestamp with units | 55 // The last time this entry was modified by a user. A UTC timestamp with units |
57 // in microseconds. | 56 // in microseconds. |
58 optional int64 last_modified = 17; | 57 optional int64 last_modified = 17; |
59 // The primary identifier of this search engine entry for Sync. | 58 // The primary identifier of this search engine entry for Sync. |
60 optional string sync_guid = 18; | 59 optional string sync_guid = 18; |
61 // A list of URL patterns that can be used, in addition to |url| and | 60 // A list of URL patterns that can be used, in addition to |url| and |
62 // |instant_url|, to extract search terms from a URL. | 61 // |instant_url|, to extract search terms from a URL. |
63 repeated string alternate_urls = 19; | 62 repeated string alternate_urls = 19; |
64 // Parameter that, if present in a search URL, indicates that Chrome should | 63 // Parameter that, if present in a search URL, indicates that Chrome should |
65 // perform search terms replacement in the omnibox. | 64 // perform search terms replacement in the omnibox. |
66 optional string search_terms_replacement_key = 20; | 65 optional string search_terms_replacement_key = 20; |
67 // The parameterized URL that provides image results according to the image | 66 // The parameterized URL that provides image results according to the image |
68 // content or image URL provided by user. | 67 // content or image URL provided by user. |
69 optional string image_url = 21; | 68 optional string image_url = 21; |
70 | 69 |
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 |