Chromium Code Reviews| Index: chrome/browser/extensions/extension_action_manager.h |
| diff --git a/chrome/browser/extensions/extension_action_manager.h b/chrome/browser/extensions/extension_action_manager.h |
| index b78e8a2bd8600e9674b291cd08ac3f9fa19ad13e..e81492c668853dafa98856ef38ffe3a3e6027436 100644 |
| --- a/chrome/browser/extensions/extension_action_manager.h |
| +++ b/chrome/browser/extensions/extension_action_manager.h |
| @@ -9,6 +9,7 @@ |
| #include <string> |
| #include "base/scoped_observer.h" |
| +#include "chrome/common/extensions/api/extension_action/action_info.h" |
| #include "components/keyed_service/core/keyed_service.h" |
| #include "extensions/browser/extension_registry_observer.h" |
| @@ -41,6 +42,11 @@ class ExtensionActionManager : public KeyedService, |
| ExtensionAction* GetSystemIndicator( |
| const extensions::Extension& extension) const; |
| + // Gets the best fit ExtensionAction for the given |extension|. |
|
not at google - send to devlin
2014/08/07 22:14:15
you might want to say, "this takes into account th
gpdavis
2014/08/07 23:48:35
Done.
|
| + scoped_ptr<ExtensionAction> GetBestFitAction( |
| + const extensions::Extension& extension, |
| + extensions::ActionInfo::Type type) const; |
| + |
| private: |
| // Implement ExtensionRegistryObserver. |
| virtual void OnExtensionUnloaded(content::BrowserContext* browser_context, |