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

Side by Side Diff: sync/protocol/synced_notification_app_info_specifics.proto

Issue 780363003: Delete deprecated synced notifications code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More cleanup Created 6 years 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
« no previous file with comments | « sync/protocol/sync.proto ('k') | sync/protocol/synced_notification_data.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 Google Inc. All Rights Reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
2 // 4 //
3 // Sync protocol datatype extension for appInfo objects. 5 // Sync protocol datatype extension for synced notification app info objects.
6 // DO NOT USE: This datatype is deprecated.
4 7
5 syntax = "proto2"; 8 syntax = "proto2";
6 9
7 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
8 option retain_unknown_fields = true; 11 option retain_unknown_fields = true;
9 12
10 package sync_pb; 13 package sync_pb;
11 14
12 import "synced_notification_render.proto"; 15 // This message is kept around for backwards compatibility sake.
13
14 message SyncedNotificationAppInfoSpecifics { 16 message SyncedNotificationAppInfoSpecifics {
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 SyncedNotificationAppInfo synced_notification_app_info = 1;
21 } 17 }
22
23 message SyncedNotificationAppInfo {
24 // The application ID (the subservice within the sending service).
25 repeated string app_id = 1;
26
27 // The name to use in the settings screen for this app.
28 // Use app_name field instead.
29 optional string settings_display_name = 2 [deprecated = true];
30
31 // This field is deprecated. Use the app_icon field instead.
32 optional SyncedNotificationImage icon = 3 [deprecated = true];
33
34 optional string app_name = 4;
35
36 optional string settings_url = 5;
37
38 optional string info_url = 6;
39
40 message Icon {
41 enum Type {
42 GRAYSCALE_FAVICON_1X = 1; // Grayscale 16x16 px icon.
43 GRAYSCALE_FAVICON_2X = 2; // Grayscale 32x32 px icon.
44 COLOR_FAVICON_1X = 3; // Color 16x16 px icon.
45 COLOR_FAVICON_2X = 4; // Color 32x32 px icon.
46 COLOR_APPICON_1X = 5; // Color 80x80 px icon.
47 COLOR_APPICON_2X = 6; // Color 160x160 px icon.
48 };
49 optional Type type = 1;
50
51 optional string url = 2;
52 };
53
54 // A repeated set of icons of different resolutions and types.
55 repeated Icon app_icon = 7;
56 }
OLDNEW
« no previous file with comments | « sync/protocol/sync.proto ('k') | sync/protocol/synced_notification_data.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698