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

Side by Side Diff: chrome/browser/sync/protocol/search_engine_specifics.proto

Issue 7669052: Added DataTypeController integration and UI surfacing for syncing Search Engines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed notification registration. Created 9 years, 3 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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"; 17 import "sync.proto";
18 18
19 // Properties of custom search engine sync objects. 19 // Properties of custom search engine sync objects.
20 message SearchEngineSpecifics { 20 message SearchEngineSpecifics {
21 // The description of the search engine.
21 optional string short_name = 1; 22 optional string short_name = 1;
23 // The search engine keyword for omnibox access.
22 optional string keyword = 2; 24 optional string keyword = 2;
25 // A URL to the favicon to show in the search engines options page.
23 optional string favicon_url = 3; 26 optional string favicon_url = 3;
27 // The actual parameterized search engine query URL.
24 optional string url = 4; 28 optional string url = 4;
29 // A flag signifying whether it is safe to automatically modify this search
30 // engine entry or not.
25 optional bool safe_for_autoreplace = 5; 31 optional bool safe_for_autoreplace = 5;
32 // The URL to the OSD file this search engine entry came from.
26 optional string originating_url = 6; 33 optional string originating_url = 6;
34 // The date this search engine entry was created. A UTC timestamp with units
35 // in microseconds.
27 optional int64 date_created = 7; 36 optional int64 date_created = 7;
37 // A list of supported input encodings.
28 optional string input_encodings = 8; 38 optional string input_encodings = 8;
39 // Whether this entry is shown in the list of default search engines or not.
29 optional bool show_in_default_list = 9; 40 optional bool show_in_default_list = 9;
41 // The parameterized URL that provides suggestions as the user types.
30 optional string suggestions_url = 10; 42 optional string suggestions_url = 10;
43 // The ID associated with the prepopulate data this search engine comes from.
44 // Set to zero if it was not prepopulated.
31 optional int32 prepopulate_id = 11; 45 optional int32 prepopulate_id = 11;
46 // Whether to autogenerate a keyword for the search engine or not.
32 optional bool autogenerate_keyword = 12; 47 optional bool autogenerate_keyword = 12;
33 optional int32 logo_id = 13; 48 // ID 13 reserved - previously used by |logo_id|, now deprecated.
49 // Whether or not this search engine entry was created automatically by an
50 // administrator via group policy.
34 optional bool created_by_policy = 14; 51 optional bool created_by_policy = 14;
52 // The parameterized URL that is used for Instant results.
35 optional string instant_url = 15; 53 optional string instant_url = 15;
36 optional int64 id = 16; 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.
37 optional int64 last_modified = 17; 57 optional int64 last_modified = 17;
58 // The primary identifier of this search engine entry for Sync.
38 optional string sync_guid = 18; 59 optional string sync_guid = 18;
39 } 60 }
40 61
41 extend EntitySpecifics { 62 extend EntitySpecifics {
42 optional SearchEngineSpecifics search_engine = 88610; 63 optional SearchEngineSpecifics search_engine = 88610;
43 } 64 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/proto_value_conversions.cc ('k') | chrome/browser/sync/resources/configure.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698