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; |
| 13 option retain_unknown_fields = true; |
| 14 |
12 package sync_pb; | 15 package sync_pb; |
13 | 16 |
14 // Properties of custom search engine sync objects. | 17 // Properties of custom search engine sync objects. |
15 message SearchEngineSpecifics { | 18 message SearchEngineSpecifics { |
16 // The description of the search engine. | 19 // The description of the search engine. |
17 optional string short_name = 1; | 20 optional string short_name = 1; |
18 // The search engine keyword for omnibox access. | 21 // The search engine keyword for omnibox access. |
19 optional string keyword = 2; | 22 optional string keyword = 2; |
20 // A URL to the favicon to show in the search engines options page. | 23 // A URL to the favicon to show in the search engines options page. |
21 optional string favicon_url = 3; | 24 optional string favicon_url = 3; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // The last time this entry was modified by a user. A UTC timestamp with units | 57 // The last time this entry was modified by a user. A UTC timestamp with units |
55 // in microseconds. | 58 // in microseconds. |
56 optional int64 last_modified = 17; | 59 optional int64 last_modified = 17; |
57 // The primary identifier of this search engine entry for Sync. | 60 // The primary identifier of this search engine entry for Sync. |
58 optional string sync_guid = 18; | 61 optional string sync_guid = 18; |
59 // A list of URL patterns that can be used, in addition to |url| and | 62 // A list of URL patterns that can be used, in addition to |url| and |
60 // |instant_url|, to extract search terms from a URL. | 63 // |instant_url|, to extract search terms from a URL. |
61 repeated string alternate_urls = 19; | 64 repeated string alternate_urls = 19; |
62 } | 65 } |
63 | 66 |
OLD | NEW |