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

Unified Diff: sync/protocol/server_app_info_specifics.proto

Issue 143973006: New Sync datatype for Synced Notifications App Info (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
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..4019baa28587f1280c8abbfe693f4989df335b78
--- /dev/null
+++ b/sync/protocol/server_app_info_specifics.proto
@@ -0,0 +1,33 @@
+// 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.
+//
+// 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 {
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,
+ // 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.
+ repeated AppInfo app_info = 1;
+}
+
+message AppInfo {
+ // The application ID.
+ 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
+
+ // 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;
+}

Powered by Google App Engine
This is Rietveld 408576698