OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // Sync protocol datatype extension for apps. |
| 6 |
| 7 syntax = "proto2"; |
| 8 |
| 9 // TODO(akalin): Re-enable this once LITE_RUNTIME supports preserving |
| 10 // unknown fields. |
| 11 |
| 12 // option optimize_for = LITE_RUNTIME; |
| 13 |
| 14 package sync_pb; |
| 15 |
| 16 import "sync.proto"; |
| 17 import "extension_specifics.proto"; |
| 18 |
| 19 // Properties of app sync objects. |
| 20 // |
| 21 // For now, an app is just an extension. We keep the two data types |
| 22 // separate for future-proofing purposes. |
| 23 message AppSpecifics { |
| 24 // Extension data. |
| 25 optional ExtensionSpecifics extension = 1; |
| 26 } |
| 27 |
| 28 extend EntitySpecifics { |
| 29 optional AppSpecifics app = 48364; |
| 30 } |
OLD | NEW |