Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: components/sync/protocol/search_engine_specifics.proto

Issue 2487633003: Change behaivor to decide whether a search engine should be shown in the default list (Closed)
Patch Set: Update based on Peter and Nicolas's comments. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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";
(...skipping 15 matching lines...) Expand all
26 // A flag signifying whether it is safe to automatically modify this search 26 // A flag signifying whether it is safe to automatically modify this search
27 // engine entry or not. 27 // engine entry or not.
28 optional bool safe_for_autoreplace = 5; 28 optional bool safe_for_autoreplace = 5;
29 // The URL to the OSD file this search engine entry came from. 29 // The URL to the OSD file this search engine entry came from.
30 optional string originating_url = 6; 30 optional string originating_url = 6;
31 // The date this search engine entry was created. A UTC timestamp with units 31 // The date this search engine entry was created. A UTC timestamp with units
32 // in microseconds. 32 // in microseconds.
33 optional int64 date_created = 7; 33 optional int64 date_created = 7;
34 // A list of supported input encodings. 34 // A list of supported input encodings.
35 optional string input_encodings = 8; 35 optional string input_encodings = 8;
36 // Whether this entry is shown in the list of default search engines or not. 36 // Obsolete field. This used to represent whether or not this entry is shown
37 optional bool show_in_default_list = 9; 37 // in the list of default search engines.
38 // optional bool deprecated_show_in_default_list = 9;
38 // The parameterized URL that provides suggestions as the user types. 39 // The parameterized URL that provides suggestions as the user types.
39 optional string suggestions_url = 10; 40 optional string suggestions_url = 10;
40 // The ID associated with the prepopulate data this search engine comes from. 41 // The ID associated with the prepopulate data this search engine comes from.
41 // Set to zero if it was not prepopulated. 42 // Set to zero if it was not prepopulated.
42 optional int32 prepopulate_id = 11; 43 optional int32 prepopulate_id = 11;
43 // DEPRECATED: Whether to autogenerate a keyword for the search engine or not. 44 // DEPRECATED: Whether to autogenerate a keyword for the search engine or not.
44 // Do not write to this field in the future. We preserve this for now so we 45 // Do not write to this field in the future. We preserve this for now so we
45 // can read the field in order to migrate existing data that sets this bit. 46 // can read the field in order to migrate existing data that sets this bit.
46 optional bool autogenerate_keyword = 12; 47 optional bool autogenerate_keyword = 12;
47 // ID 13 reserved - previously used by |logo_id|, now deprecated. 48 // ID 13 reserved - previously used by |logo_id|, now deprecated.
(...skipping 23 matching lines...) Expand all
71 // The following post_params are comma-separated lists used to specify the 72 // The following post_params are comma-separated lists used to specify the
72 // post parameters for the corresponding search URL. 73 // post parameters for the corresponding search URL.
73 optional string search_url_post_params = 22; 74 optional string search_url_post_params = 22;
74 optional string suggestions_url_post_params = 23; 75 optional string suggestions_url_post_params = 23;
75 optional string instant_url_post_params = 24; 76 optional string instant_url_post_params = 24;
76 optional string image_url_post_params = 25; 77 optional string image_url_post_params = 25;
77 78
78 // The parameterized URL for a search provider specified new tab page. 79 // The parameterized URL for a search provider specified new tab page.
79 optional string new_tab_url = 26; 80 optional string new_tab_url = 26;
80 } 81 }
OLDNEW
« no previous file with comments | « components/sync/protocol/proto_visitors.h ('k') | components/test/data/web_database/version_67.sql » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698