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; | 13 option retain_unknown_fields = true; |
14 | 14 |
15 package sync_pb; | 15 package sync_pb; |
16 | 16 |
17 import "sync.proto"; | |
18 | |
19 // Properties of custom search engine sync objects. | 17 // Properties of custom search engine sync objects. |
20 message SearchEngineSpecifics { | 18 message SearchEngineSpecifics { |
21 // The description of the search engine. | 19 // The description of the search engine. |
22 optional string short_name = 1; | 20 optional string short_name = 1; |
23 // The search engine keyword for omnibox access. | 21 // The search engine keyword for omnibox access. |
24 optional string keyword = 2; | 22 optional string keyword = 2; |
25 // 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. |
26 optional string favicon_url = 3; | 24 optional string favicon_url = 3; |
27 // The actual parameterized search engine query URL. | 25 // The actual parameterized search engine query URL. |
28 optional string url = 4; | 26 optional string url = 4; |
(...skipping 25 matching lines...) Expand all Loading... |
54 // The parameterized URL that is used for Instant results. | 52 // The parameterized URL that is used for Instant results. |
55 optional string instant_url = 15; | 53 optional string instant_url = 15; |
56 // ID 16 reserved - previously used by |id|, now deprecated. | 54 // ID 16 reserved - previously used by |id|, now deprecated. |
57 // 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 |
58 // in microseconds. | 56 // in microseconds. |
59 optional int64 last_modified = 17; | 57 optional int64 last_modified = 17; |
60 // The primary identifier of this search engine entry for Sync. | 58 // The primary identifier of this search engine entry for Sync. |
61 optional string sync_guid = 18; | 59 optional string sync_guid = 18; |
62 } | 60 } |
63 | 61 |
64 extend EntitySpecifics { | |
65 optional SearchEngineSpecifics search_engine = 88610; | |
66 } | |
OLD | NEW |