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