| 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 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 option retain_unknown_fields = true; | |
| 9 | 8 |
| 10 package sync_pb; | 9 package sync_pb; |
| 11 | 10 |
| 12 message GetUpdatesCallerInfo { | 11 message GetUpdatesCallerInfo { |
| 13 // This message was deprecated in M28. The preferred represenation of this | 12 // This message was deprecated in M28. The preferred represenation of this |
| 14 // information is now the GetUpdatesOrigin enum, which is defined in | 13 // information is now the GetUpdatesOrigin enum, which is defined in |
| 15 // sync_enums.proto. | 14 // sync_enums.proto. |
| 16 enum GetUpdatesSource { | 15 enum GetUpdatesSource { |
| 17 UNKNOWN = 0; // The source was not set by the caller. | 16 UNKNOWN = 0; // The source was not set by the caller. |
| 18 FIRST_UPDATE = 1; // First request after browser restart. Not to | 17 FIRST_UPDATE = 1; // First request after browser restart. Not to |
| (...skipping 26 matching lines...) Expand all Loading... |
| 45 RETRY = 13; // A follow-up GU to pick up updates missed by previous GU. | 44 RETRY = 13; // A follow-up GU to pick up updates missed by previous GU. |
| 46 PROGRAMMATIC = 14; // The client is programmatically enabling/disabling | 45 PROGRAMMATIC = 14; // The client is programmatically enabling/disabling |
| 47 // a type, typically for error handling purposes. | 46 // a type, typically for error handling purposes. |
| 48 } | 47 } |
| 49 | 48 |
| 50 required GetUpdatesSource source = 1; | 49 required GetUpdatesSource source = 1; |
| 51 | 50 |
| 52 // True only if notifications were enabled for this GetUpdateMessage. | 51 // True only if notifications were enabled for this GetUpdateMessage. |
| 53 optional bool notifications_enabled = 2; | 52 optional bool notifications_enabled = 2; |
| 54 }; | 53 }; |
| OLD | NEW |