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..9f9c6157b2bf11e86ba5508020d69d525f15903a 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 |
| + bool IsComponentActionId(const std::string& id); |
|
msw
2016/07/26 19:59:31
nit: make this static
takumif
2016/07/28 20:04:10
Done.
|
| + |
| private: |
| DISALLOW_COPY_AND_ASSIGN(ComponentToolbarActionsFactory); |
| }; |