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

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

Issue 7150023: Add protobuffer and model type for syncing custom search engines. Includes all boilerplate helper... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
(Empty)
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
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 import "sync.proto";
18
19 // Properties of custom search engine sync objects.
20 message SearchEngineSpecifics {
21 optional string short_name = 1;
22 optional string keyword = 2;
23 optional string favicon_url = 3;
24 optional string url = 4;
25 optional bool safe_for_autoreplace = 5;
26 optional string originating_url = 6;
27 optional int64 date_created = 7;
28 optional string input_encodings = 8;
29 optional bool show_in_default_list = 9;
30 optional string suggestions_url = 10;
31 optional int32 prepopulate_id = 11;
32 optional bool autogenerate_keyword = 12;
33 optional int32 logo_id = 13;
34 optional bool created_by_policy = 14;
35 optional string instant_url = 15;
36 optional int64 id = 16;
37 }
38
39 extend EntitySpecifics {
40 optional SearchEngineSpecifics search_engine = 88610;
41 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/proto_value_conversions_unittest.cc ('k') | chrome/browser/sync/protocol/sync_proto.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698