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

Side by Side Diff: sync/protocol/get_updates_caller_info.proto

Issue 11228038: Linux: change protobuf default option to allow building (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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) 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME;
8 option retain_unknown_fields = true;
9
10 package sync_pb; 7 package sync_pb;
11 8
12 message GetUpdatesCallerInfo { 9 message GetUpdatesCallerInfo {
13 enum GetUpdatesSource { 10 enum GetUpdatesSource {
14 UNKNOWN = 0; // The source was not set by the caller. 11 UNKNOWN = 0; // The source was not set by the caller.
15 FIRST_UPDATE = 1; // First request after browser restart. Not to 12 FIRST_UPDATE = 1; // First request after browser restart. Not to
16 // be confused with "NEW_CLIENT". 13 // be confused with "NEW_CLIENT".
17 LOCAL = 2; // The source of the update was a local change. 14 LOCAL = 2; // The source of the update was a local change.
18 NOTIFICATION = 3; // The source of the update was a p2p notification. 15 NOTIFICATION = 3; // The source of the update was a p2p notification.
19 PERIODIC = 4; // The source of the update was periodic polling. 16 PERIODIC = 4; // The source of the update was periodic polling.
(...skipping 19 matching lines...) Expand all
39 // typically used when datatype's have custom 36 // typically used when datatype's have custom
40 // sync UI, e.g. sessions. 37 // sync UI, e.g. sessions.
41 } 38 }
42 39
43 required GetUpdatesSource source = 1; 40 required GetUpdatesSource source = 1;
44 41
45 // True only if notifications were enabled for this GetUpdateMessage. 42 // True only if notifications were enabled for this GetUpdateMessage.
46 optional bool notifications_enabled = 2; 43 optional bool notifications_enabled = 2;
47 }; 44 };
48 45
OLDNEW
« no previous file with comments | « sync/protocol/extension_specifics.proto ('k') | sync/protocol/history_delete_directive_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698