Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: ash/public/cpp/shelf_item_delegate.cc

Issue 2860503002: mash: Replace int ShelfIDs with AppLaunchID strings. (Closed)
Patch Set: Restore AppLaunchId class via using ShelfID = AppLaunchId; cleanup. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/public/cpp/shelf_item_delegate.cc
diff --git a/ash/public/cpp/shelf_item_delegate.cc b/ash/public/cpp/shelf_item_delegate.cc
index 3c5fd50b8d11658e7fd21c71fe59581a30eab54c..c1fdab9f006a451c0e824c95ada958fc391d6801 100644
--- a/ash/public/cpp/shelf_item_delegate.cc
+++ b/ash/public/cpp/shelf_item_delegate.cc
@@ -6,10 +6,8 @@
namespace ash {
-ShelfItemDelegate::ShelfItemDelegate(const ash::AppLaunchId& app_launch_id)
- : app_launch_id_(app_launch_id),
- shelf_id_(kInvalidShelfID),
- image_set_by_controller_(false) {}
+ShelfItemDelegate::ShelfItemDelegate(const ash::ShelfID& shelf_id)
+ : shelf_id_(shelf_id), image_set_by_controller_(false) {}
ShelfItemDelegate::~ShelfItemDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698