OLD | NEW |
---|---|
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 synced notifications. | 5 // Sync protocol datatype extension for synced notifications. |
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 "server_render.proto"; | |
Nicolas Zea
2013/01/05 01:18:48
Are you planning to reuse these protos anywhere? I
Pete Williamson
2013/01/18 18:58:39
Yes, these are being matched by a similar set of p
| |
18 import "server_data.proto"; | |
19 | |
17 // Properties of SyncedNotificationSpecifics objects. | 20 // Properties of SyncedNotificationSpecifics objects. |
18 message SyncedNotificationSpecifics { | 21 message SyncedNotificationSpecifics { |
19 // TODO(petewil): this is placeholder data, make a real one | 22 // The notification from the server |
23 // TODO(petewil): is this always coalesced, or sometimes a plain notification? | |
24 optional CoalescedNotification coalesced_notification = 1; | |
20 } | 25 } |
OLD | NEW |