OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 the app list (aka app launcher). | 5 // Sync protocol datatype extension for the app list (aka app launcher). |
6 | 6 |
7 // Update proto_{value,enum}_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_{value,enum}_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; | 12 option optimize_for = LITE_RUNTIME; |
13 option retain_unknown_fields = true; | |
14 | 13 |
15 package sync_pb; | 14 package sync_pb; |
16 | 15 |
17 // Properties of app list objects. | 16 // Properties of app list objects. |
18 message AppListSpecifics { | 17 message AppListSpecifics { |
19 // Unique identifier for the item: | 18 // Unique identifier for the item: |
20 // * TYPE_FOLDER: Folder id (generated) | 19 // * TYPE_FOLDER: Folder id (generated) |
21 // * TYPE_APP: App Id | 20 // * TYPE_APP: App Id |
22 // * TYPE_URL: Url | 21 // * TYPE_URL: Url |
23 optional string item_id = 1; | 22 optional string item_id = 1; |
(...skipping 20 matching lines...) Expand all Loading... |
44 // Marked OBSOLETE because this is unused for the app list. | 43 // Marked OBSOLETE because this is unused for the app list. |
45 // Which page this item will appear on in the app list. | 44 // Which page this item will appear on in the app list. |
46 optional string OBSOLETE_page_ordinal = 5 [deprecated = true]; | 45 optional string OBSOLETE_page_ordinal = 5 [deprecated = true]; |
47 | 46 |
48 // Where on a page this item will appear. | 47 // Where on a page this item will appear. |
49 optional string item_ordinal = 6; | 48 optional string item_ordinal = 6; |
50 | 49 |
51 // Where on a shelf this item will appear. | 50 // Where on a shelf this item will appear. |
52 optional string item_pin_ordinal = 7; | 51 optional string item_pin_ordinal = 7; |
53 } | 52 } |
OLD | NEW |