| 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 9a205eded0af0041ff9cc2c50c00f4958cba0811..2a7cae59014c12f40dc7d21cf401e470be01b4a6 100644
|
| --- a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
|
| +++ b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
|
| @@ -17,13 +17,20 @@ class ToolbarActionViewController;
|
| // components of chrome, such as ChromeCast.
|
| class ComponentToolbarActionsFactory {
|
| public:
|
| + // Component Action IDs.
|
| + static const char kMediaRouterActionId[];
|
| + static const char kActionIdForTest[]; // Only used for testing.
|
| +
|
| ComponentToolbarActionsFactory();
|
| ~ComponentToolbarActionsFactory();
|
|
|
| static ComponentToolbarActionsFactory* GetInstance();
|
|
|
| - // Returns a collection of controllers for Chrome Actions. Declared virtual
|
| - // for testing.
|
| + // Returns a list of ids of the Component Actions.
|
| + static std::vector<std::string>* GetComponentIds();
|
| +
|
| + // Returns a collection of controllers for Component Actions. Declared
|
| + // virtual for testing.
|
| virtual ScopedVector<ToolbarActionViewController>
|
| GetComponentToolbarActions(Browser* browser);
|
|
|
|
|