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

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

Issue 11359146: Revert "Linux: change protobuf default option to allow building" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 | « remoting/proto/video.proto ('k') | sync/protocol/app_setting_specifics.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 (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;
13 option retain_unknown_fields = true;
14
12 package sync_pb; 15 package sync_pb;
13 16
14 // Properties of an app notification. 17 // Properties of an app notification.
15 18
16 // An App Notification, to be delivered from Chrome Apps to the 19 // An App Notification, to be delivered from Chrome Apps to the
17 // Chrome browser through the Notification API. 20 // Chrome browser through the Notification API.
18 message AppNotification { 21 message AppNotification {
19 // Globally unique id. This is more robust for uniquely identifying each 22 // Globally unique id. This is more robust for uniquely identifying each
20 // notification and hence gives us flexibility in the future. In absence 23 // notification and hence gives us flexibility in the future. In absence
21 // of this, unique id would be (app_id, creation_timestamp_ms). But that 24 // of this, unique id would be (app_id, creation_timestamp_ms). But that
(...skipping 10 matching lines...) Expand all
32 35
33 // Payload - these fields are visible to the user content is defined by the 36 // Payload - these fields are visible to the user content is defined by the
34 // app. The fields are described in: 37 // app. The fields are described in:
35 // chrome/browser/extensions/app_notification.h 38 // chrome/browser/extensions/app_notification.h
36 optional string title = 4; 39 optional string title = 4;
37 optional string body_text = 5; 40 optional string body_text = 5;
38 optional string link_url = 6; 41 optional string link_url = 6;
39 optional string link_text = 7; 42 optional string link_text = 7;
40 } 43 }
41 44
OLDNEW
« no previous file with comments | « remoting/proto/video.proto ('k') | sync/protocol/app_setting_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698