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

Side by Side Diff: components/sync/protocol/app_notification_specifics.proto

Issue 2291053002: Cleanup: remove non-standard retain_unknown_fields from .proto files (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Sync protocol datatype extension for app notifications. 5 // Sync protocol datatype extension for app notifications.
6 6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
11 11
12 option optimize_for = LITE_RUNTIME; 12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
14 13
15 package sync_pb; 14 package sync_pb;
16 15
17 // Properties of an app notification. 16 // Properties of an app notification.
18 17
19 // An App Notification, to be delivered from Chrome Apps to the 18 // An App Notification, to be delivered from Chrome Apps to the
20 // Chrome browser through the Notification API. 19 // Chrome browser through the Notification API.
21 message AppNotification { 20 message AppNotification {
22 // Globally unique id. This is more robust for uniquely identifying each 21 // Globally unique id. This is more robust for uniquely identifying each
23 // notification and hence gives us flexibility in the future. In absence 22 // notification and hence gives us flexibility in the future. In absence
(...skipping 10 matching lines...) Expand all
34 optional int64 creation_timestamp_ms = 3; 33 optional int64 creation_timestamp_ms = 3;
35 34
36 // Payload - these fields are visible to the user content is defined by the 35 // Payload - these fields are visible to the user content is defined by the
37 // app. The fields are described in: 36 // app. The fields are described in:
38 // chrome/browser/extensions/app_notification.h 37 // chrome/browser/extensions/app_notification.h
39 optional string title = 4; 38 optional string title = 4;
40 optional string body_text = 5; 39 optional string body_text = 5;
41 optional string link_url = 6; 40 optional string link_url = 6;
42 optional string link_text = 7; 41 optional string link_text = 7;
43 } 42 }
OLDNEW
« no previous file with comments | « components/sync/protocol/app_list_specifics.proto ('k') | components/sync/protocol/app_setting_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698