Chromium Code Reviews| Index: chrome/browser/ui/toolbar/component_toolbar_actions_factory.h |
| diff --git a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h |
| index 3f00ca9c1d0f53b37bf12b5b59da8bfb5deabfdb..cfe5fada2f42532902702448bb053260d8d094b6 100644 |
| --- a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h |
| +++ b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h |
| @@ -56,6 +56,9 @@ class ComponentToolbarActionsFactory { |
| // Ownership remains with the caller. |
| static void SetTestingFactory(ComponentToolbarActionsFactory* factory); |
| + // Returns whether the given ID belongs to a component action. |
| + static bool IsComponentActionId(const std::string& id); |
|
Devlin
2016/08/02 20:18:51
Is this used?
takumif
2016/08/03 22:03:50
No. Removing.
|
| + |
| private: |
| DISALLOW_COPY_AND_ASSIGN(ComponentToolbarActionsFactory); |
| }; |