#include "chrome/browser/ui/toolbar/toolbar_actions_model_factory.h"
#include "chrome/browser/extensions/api/extension_action/extension_action_api.h"
#include "chrome/browser/extensions/extension_management.h"
#include "chrome/browser/extensions/extension_system_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/toolbar/toolbar_actions_model.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_prefs_factory.h"
#include "extensions/browser/extension_registry_factory.h"
#include "extensions/browser/extensions_browser_client.h"
#include "extensions/browser/permissions_manager.h"
ToolbarActionsModel* ToolbarActionsModelFactory::GetForProfile(
Profile* profile) { … }
ToolbarActionsModelFactory* ToolbarActionsModelFactory::GetInstance() { … }
ToolbarActionsModelFactory::ToolbarActionsModelFactory()
: … { … }
ToolbarActionsModelFactory::~ToolbarActionsModelFactory() = default;
std::unique_ptr<KeyedService>
ToolbarActionsModelFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
bool ToolbarActionsModelFactory::ServiceIsCreatedWithBrowserContext() const { … }
bool ToolbarActionsModelFactory::ServiceIsNULLWhileTesting() const { … }