Chromium Code Reviews| Index: ash/common/shelf/shelf_delegate.h |
| diff --git a/ash/common/shelf/shelf_delegate.h b/ash/common/shelf/shelf_delegate.h |
| index fa5e0b9cc66d2e373a82005967214fb94ec4330d..fc72c64cb4581bda85c11fc40d458b22536b40b2 100644 |
| --- a/ash/common/shelf/shelf_delegate.h |
| +++ b/ash/common/shelf/shelf_delegate.h |
| @@ -42,6 +42,14 @@ class ASH_EXPORT ShelfDelegate { |
| // Get the shelf ID from an application ID. |
| virtual ShelfID GetShelfIDForAppID(const std::string& app_id) = 0; |
| + // Get the shelf ID from an application ID and a launch ID. |
| + // The launch ID can be passed to an app when launched in order to support |
| + // multiple shelf items per app. This id is used together with the app_id to |
| + // uniquely identify each shelf item that has the same app_id. |
|
James Cook
2016/09/01 16:15:18
nit: I would also say something like: "For example
Andra Paraschiv
2016/09/02 07:35:44
Done.
|
| + virtual ShelfID GetShelfIDForAppIDAndLaunchID( |
| + const std::string& app_id, |
| + const std::string& launch_id) = 0; |
| + |
| // Checks whether a mapping exists from the ShelfID |id| to an app id. |
| virtual bool HasShelfIDToAppIDMapping(ShelfID id) const = 0; |