| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 // | |
| 5 // Sync protocol datatype extension for custom search engines. | |
| 6 | |
| 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | |
| 8 // any fields in this file. | |
| 9 | |
| 10 syntax = "proto2"; | |
| 11 | |
| 12 option optimize_for = LITE_RUNTIME; | |
| 13 option retain_unknown_fields = true; | |
| 14 | |
| 15 package sync_pb; | |
| 16 | |
| 17 // Properties of custom search engine sync objects. | |
| 18 message SearchEngineSpecifics { | |
| 19 // The description of the search engine. | |
| 20 optional string short_name = 1; | |
| 21 // The search engine keyword for omnibox access. | |
| 22 optional string keyword = 2; | |
| 23 // A URL to the favicon to show in the search engines options page. | |
| 24 optional string favicon_url = 3; | |
| 25 // The actual parameterized search engine query URL. | |
| 26 optional string url = 4; | |
| 27 // A flag signifying whether it is safe to automatically modify this search | |
| 28 // engine entry or not. | |
| 29 optional bool safe_for_autoreplace = 5; | |
| 30 // The URL to the OSD file this search engine entry came from. | |
| 31 optional string originating_url = 6; | |
| 32 // The date this search engine entry was created. A UTC timestamp with units | |
| 33 // in microseconds. | |
| 34 optional int64 date_created = 7; | |
| 35 // A list of supported input encodings. | |
| 36 optional string input_encodings = 8; | |
| 37 // Whether this entry is shown in the list of default search engines or not. | |
| 38 optional bool show_in_default_list = 9; | |
| 39 // The parameterized URL that provides suggestions as the user types. | |
| 40 optional string suggestions_url = 10; | |
| 41 // The ID associated with the prepopulate data this search engine comes from. | |
| 42 // Set to zero if it was not prepopulated. | |
| 43 optional int32 prepopulate_id = 11; | |
| 44 // Whether to autogenerate a keyword for the search engine or not. | |
| 45 optional bool autogenerate_keyword = 12; | |
| 46 // ID 13 reserved - previously used by |logo_id|, now deprecated. | |
| 47 // Obsolete field. This used to represent whether or not this search engine | |
| 48 // entry was created automatically by an administrator via group policy. This | |
| 49 // notion no longer exists amongst synced search engines as we do not want to | |
| 50 // sync managed search engines. | |
| 51 // optional bool deprecated_created_by_policy = 14; | |
| 52 // The parameterized URL that is used for Instant results. | |
| 53 optional string instant_url = 15; | |
| 54 // ID 16 reserved - previously used by |id|, now deprecated. | |
| 55 // The last time this entry was modified by a user. A UTC timestamp with units | |
| 56 // in microseconds. | |
| 57 optional int64 last_modified = 17; | |
| 58 // The primary identifier of this search engine entry for Sync. | |
| 59 optional string sync_guid = 18; | |
| 60 } | |
| 61 | |
| OLD | NEW |