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

Side by Side 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: AppInfo: CR fixes per Zea@ 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // 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.
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 {
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 // This is a static list sent from the server that is read only on the client.
20 repeated AppInfo app_info = 1;
21 }
22
23 message AppInfo {
24 // The application ID of a subservice within the notification sending service.
25 repeated string app_id = 1;
26
27 // The name to use in the settings screen for this app.
28 optional string settings_display_name = 2;
29
30 // The icon to use. The URL of the icon may point to a
31 // hi-res image, so clients should always size the image to the
32 // preferred width and height specified in the Image proto.
33 optional SyncedNotificationImage icon = 3;
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698