#include "chrome/browser/ui/toolbar/toolbar_actions_model.h"
#include "base/memory/raw_ptr.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/test/browser_test.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/extension_set.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace {
constexpr char kExtension1Path[] = …;
constexpr char kExtension1Name[] = …;
constexpr char kExtension2Path[] = …;
constexpr char kExtension2Name[] = …;
constexpr char kExtension3Path[] = …;
constexpr char kExtension3Name[] = …;
}
class ToolbarActionsModelBrowserTest : public extensions::ExtensionBrowserTest { … };
IN_PROC_BROWSER_TEST_F(ToolbarActionsModelBrowserTest, PRE_PinnedStateMetrics) { … }
IN_PROC_BROWSER_TEST_F(ToolbarActionsModelBrowserTest, PinnedStateMetrics) { … }
IN_PROC_BROWSER_TEST_F(ToolbarActionsModelBrowserTest,
PRE_PinnedStatePersistence) { … }
IN_PROC_BROWSER_TEST_F(ToolbarActionsModelBrowserTest, PinnedStatePersistence) { … }