Index: ash/public/cpp/shelf_types.h |
diff --git a/ash/public/cpp/shelf_types.h b/ash/public/cpp/shelf_types.h |
index 5cec6237288886b1e1f26d4f02ce68489d114667..7f24ae401709990316f534b6029e5f3818ab9396 100644 |
--- a/ash/public/cpp/shelf_types.h |
+++ b/ash/public/cpp/shelf_types.h |
@@ -89,8 +89,10 @@ enum ShelfAction { |
SHELF_ACTION_APP_LIST_SHOWN, |
}; |
-typedef int ShelfID; |
-const int kInvalidShelfID = 0; |
+// Shelf IDs are sequential values assigned to shelf items by ShelfModel for |
+// runtime use; they are not persisted across restarts of the ash environment. |
+using ShelfID = uint32_t; |
+const ShelfID kInvalidShelfID = 0u; |
// The type of a shelf item. |
enum ShelfItemType { |