OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 Google Inc. All Rights Reserved. | |
Nicolas Zea
2014/01/22 00:43:39
this file should be app_info_specifics, not server
Pete Williamson
2014/01/22 19:51:10
Done.
| |
2 // | |
3 // Sync protocol datatype extension for appInfo objects. | |
4 | |
5 syntax = "proto2"; | |
6 | |
7 option optimize_for = LITE_RUNTIME; | |
8 option retain_unknown_fields = true; | |
9 | |
10 package sync_pb; | |
11 | |
12 import "synced_notification_render.proto"; | |
13 | |
14 message AppInfoSpecifics { | |
Nicolas Zea
2014/01/22 00:43:39
Given that the type is called SyncedNotificationAp
Pete Williamson
2014/01/22 19:51:10
On the server it is just called AppInfoSpecifics,
| |
15 // Information of the list of apps we know about. | |
16 // NOTE: This may not be the comprehensive list of apps that send | |
17 // notifications. At best, it will contain all the first party apps and | |
18 // paging support is not needed. | |
19 repeated AppInfo app_info = 1; | |
20 } | |
21 | |
22 message AppInfo { | |
23 // The application ID. | |
24 repeated string app_id = 1; | |
Nicolas Zea
2014/01/21 23:25:10
Perhaps I didn't follow our discussion closely eno
Pete Williamson
2014/01/22 19:51:10
We chatted about this, and we agreed that we need
| |
25 | |
26 // The name to use in the settings screen for this app. | |
27 optional string settings_display_name = 2; | |
28 | |
29 // The icon to use. The URL of the icon may point to a | |
30 // hi-res image, so clients should always size the image to the | |
31 // preferred width and height specified in the Image proto. | |
32 optional SyncedNotificationImage icon = 3; | |
33 } | |
OLD | NEW |