| 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 a96bd3fb20a1685fe5484b2faa8145761557dd24..3f00ca9c1d0f53b37bf12b5b59da8bfb5deabfdb 100644
|
| --- a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
|
| +++ b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
|
| @@ -5,11 +5,11 @@
|
| #ifndef CHROME_BROWSER_UI_TOOLBAR_COMPONENT_TOOLBAR_ACTIONS_FACTORY_H_
|
| #define CHROME_BROWSER_UI_TOOLBAR_COMPONENT_TOOLBAR_ACTIONS_FACTORY_H_
|
|
|
| +#include <memory>
|
| #include <set>
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "chrome/browser/ui/toolbar/toolbar_actions_bar.h"
|
|
|
| class Browser;
|
| @@ -38,8 +38,9 @@ class ComponentToolbarActionsFactory {
|
|
|
| // Returns a collection of controllers for component actions. Declared
|
| // virtual for testing.
|
| - virtual scoped_ptr<ToolbarActionViewController>
|
| - GetComponentToolbarActionForId(const std::string& id, Browser* browser,
|
| + virtual std::unique_ptr<ToolbarActionViewController>
|
| + GetComponentToolbarActionForId(const std::string& id,
|
| + Browser* browser,
|
| ToolbarActionsBar* bar);
|
|
|
| // Registers component actions that are migrating from extensions.
|
|
|