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