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"; |
11 | 11 |
12 option optimize_for = LITE_RUNTIME; | 12 option optimize_for = LITE_RUNTIME; |
13 option retain_unknown_fields = true; | |
14 | 13 |
15 package sync_pb; | 14 package sync_pb; |
16 | 15 |
17 // Properties of custom search engine sync objects. | 16 // Properties of custom search engine sync objects. |
18 message SearchEngineSpecifics { | 17 message SearchEngineSpecifics { |
19 // The description of the search engine. | 18 // The description of the search engine. |
20 optional string short_name = 1; | 19 optional string short_name = 1; |
21 // The search engine keyword for omnibox access. | 20 // The search engine keyword for omnibox access. |
22 optional string keyword = 2; | 21 optional string keyword = 2; |
23 // A URL to the favicon to show in the search engines options page. | 22 // A URL to the favicon to show in the search engines options page. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // The following post_params are comma-separated lists used to specify the | 71 // The following post_params are comma-separated lists used to specify the |
73 // post parameters for the corresponding search URL. | 72 // post parameters for the corresponding search URL. |
74 optional string search_url_post_params = 22; | 73 optional string search_url_post_params = 22; |
75 optional string suggestions_url_post_params = 23; | 74 optional string suggestions_url_post_params = 23; |
76 optional string instant_url_post_params = 24; | 75 optional string instant_url_post_params = 24; |
77 optional string image_url_post_params = 25; | 76 optional string image_url_post_params = 25; |
78 | 77 |
79 // The parameterized URL for a search provider specified new tab page. | 78 // The parameterized URL for a search provider specified new tab page. |
80 optional string new_tab_url = 26; | 79 optional string new_tab_url = 26; |
81 } | 80 } |
OLD | NEW |