Index: ash/common/shelf/shelf_controller.h |
diff --git a/ash/common/shelf/shelf_controller.h b/ash/common/shelf/shelf_controller.h |
index b058d4ffbf1b95880e98c55685a3c0f2635077d8..e21150375dd47e6f9825b5a5598c5607762808ed 100644 |
--- a/ash/common/shelf/shelf_controller.h |
+++ b/ash/common/shelf/shelf_controller.h |
@@ -8,8 +8,8 @@ |
#include <map> |
#include <string> |
-#include "ash/common/shelf/shelf_item_types.h" |
#include "ash/common/shelf/shelf_model.h" |
+#include "ash/public/cpp/shelf_item.h" |
#include "ash/public/cpp/shelf_types.h" |
#include "ash/public/interfaces/shelf.mojom.h" |
#include "mojo/public/cpp/bindings/binding_set.h" |
@@ -49,7 +49,7 @@ class ShelfController : public mojom::ShelfController { |
void SetAlignment(ShelfAlignment alignment, int64_t display_id) override; |
void SetAutoHideBehavior(ShelfAutoHideBehavior auto_hide, |
int64_t display_id) override; |
- void PinItem(mojom::ShelfItemPtr item, |
+ void PinItem(const ShelfItem& item, |
mojom::ShelfItemDelegateAssociatedPtrInfo delegate) override; |
void UnpinItem(const std::string& app_id) override; |
void SetItemImage(const std::string& app_id, const SkBitmap& image) override; |