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
3 // found in the LICENSE file.
5 // Sync protocol datatype extension for the app list (aka app launcher).
7 // Update proto_{value,enum}_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file.
12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
17 // Properties of app list objects.
18 message AppListSpecifics {
19 // Unique identifier for the item:
20 // * TYPE_FOLDER: Folder id (generated)
23 optional string item_id = 1;
25 // What type of item this is.
26 enum AppListItemType {
29 // A request to remove any matching default installed apps.
30 TYPE_REMOVE_DEFAULT_APP = 2;
31 // A folder containing entries whose |parent_id| matches |item_id|.
33 // A URL shortcut (functionally equivalent to a bookmark).
36 optional AppListItemType item_type = 2;
38 // Item name (FOLDER or URL).
39 optional string item_name = 3;
41 // Id of the parent (folder) item.
42 optional string parent_id = 4;
44 // Marked OBSOLETE because this is unused for the app list.
45 // Which page this item will appear on in the app list.
46 optional string OBSOLETE_page_ordinal = 5 [deprecated = true];
48 // Where on a page this item will appear.
49 optional string item_ordinal = 6;