Index: sync/protocol/server_app_info_specifics.proto |
diff --git a/sync/protocol/server_app_info_specifics.proto b/sync/protocol/server_app_info_specifics.proto |
new file mode 100644 |
index 0000000000000000000000000000000000000000..65f8b2898e8b05c4281be5400862fd811a12fa6f |
--- /dev/null |
+++ b/sync/protocol/server_app_info_specifics.proto |
@@ -0,0 +1,34 @@ |
+// Copyright 2014 Google Inc. All Rights Reserved. |
Nicolas Zea
2014/01/24 01:41:27
Looks like this file wasn't renamed?
Pete Williamson
2014/01/27 18:49:33
Done.
|
+// |
+// Sync protocol datatype extension for appInfo objects. |
+ |
+syntax = "proto2"; |
+ |
+option optimize_for = LITE_RUNTIME; |
+option retain_unknown_fields = true; |
+ |
+package sync_pb; |
+ |
+import "synced_notification_render.proto"; |
+ |
+message AppInfoSpecifics { |
+ // Information of the list of apps we know about. |
+ // NOTE: This may not be the comprehensive list of apps that send |
+ // notifications. At best, it will contain all the first party apps and |
+ // paging support is not needed. |
+ // This is a static list sent from the server that is read only on the client. |
+ repeated AppInfo app_info = 1; |
+} |
+ |
+message AppInfo { |
+ // The application ID of a subservice within the notification sending service. |
+ repeated string app_id = 1; |
+ |
+ // The name to use in the settings screen for this app. |
+ optional string settings_display_name = 2; |
+ |
+ // The icon to use. The URL of the icon may point to a |
+ // hi-res image, so clients should always size the image to the |
+ // preferred width and height specified in the Image proto. |
+ optional SyncedNotificationImage icon = 3; |
+} |