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 7ef07133080ece410536e6c76c5869abab480acd..e616eacd8a0c42ff9e3fdd1ff3d4d78fe6846a2c 100644 |
| --- a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h |
| +++ b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h |
| @@ -7,6 +7,7 @@ |
| #include "base/macros.h" |
| #include "base/memory/scoped_vector.h" |
| +#include "chrome/browser/ui/browser.h" |
|
Devlin
2015/07/14 21:31:07
Again, forward declaration will do.
apacible
2015/07/16 16:52:11
Done.
|
| class Profile; |
| class ToolbarActionViewController; |
| @@ -24,10 +25,10 @@ class ComponentToolbarActionsFactory { |
| // Returns a collection of controllers for Chrome Actions. Declared virtual |
| // for testing. |
| virtual ScopedVector<ToolbarActionViewController> |
| - GetComponentToolbarActions(); |
| + GetComponentToolbarActions(Browser* browser); |
| // Returns the number of component actions. |
| - int GetNumComponentActions(); |
| + int GetNumComponentActions(Browser* browser); |
| // Sets the factory to use for testing purposes. |
| // Ownership remains with the caller. |