| OLD | NEW |
| 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 apps. | 5 // Sync protocol datatype extension for apps. |
| 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 import "extension_specifics.proto"; | 17 import "extension_specifics.proto"; |
| 15 | 18 |
| 16 // Settings related to push notifications for apps. | 19 // Settings related to push notifications for apps. |
| 17 message AppNotificationSettings { | 20 message AppNotificationSettings { |
| 18 // DEPRECATED: Use oauth_client_id below. | 21 // DEPRECATED: Use oauth_client_id below. |
| 19 // Whether or not the user has setup notifications at least once. | 22 // Whether or not the user has setup notifications at least once. |
| 20 // The value for this field will start out false and will be set | 23 // The value for this field will start out false and will be set |
| 21 // to true when the user accepts receiving notifications for the | 24 // to true when the user accepts receiving notifications for the |
| (...skipping 26 matching lines...) Expand all Loading... |
| 48 | 51 |
| 49 // This controls where on a page this application icon will appear. | 52 // This controls where on a page this application icon will appear. |
| 50 optional string app_launch_ordinal = 3; | 53 optional string app_launch_ordinal = 3; |
| 51 | 54 |
| 52 // This specifics which page the application icon will appear on in the NTP. | 55 // This specifics which page the application icon will appear on in the NTP. |
| 53 // This values only provide the order within the application pages, not within | 56 // This values only provide the order within the application pages, not within |
| 54 // all of the panels in the NTP. | 57 // all of the panels in the NTP. |
| 55 optional string page_ordinal = 4; | 58 optional string page_ordinal = 4; |
| 56 } | 59 } |
| 57 | 60 |
| OLD | NEW |