#include <stddef.h>
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/extensions/extension_action_test_util.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/extensions/extension_tab_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/test/browser_test.h"
#include "extensions/browser/extension_action.h"
#include "extensions/browser/extension_action_manager.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/extension.h"
#include "extensions/common/switches.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace extensions {
namespace {
const std::string kSubscribePageAction = …;
const std::string kFeedPage = …;
const std::string kNoFeedPage = …;
const std::string kHashPageA = …;
const std::string kHashPageAHash = …;
const std::string kHashPageB = …;
ContextType;
class PageActionBrowserTest : public ExtensionBrowserTest,
public testing::WithParamInterface<ContextType> { … };
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
IN_PROC_BROWSER_TEST_P(PageActionBrowserTest, PageActionCrash25562) { … }
IN_PROC_BROWSER_TEST_P(PageActionBrowserTest, PageAction) { … }
IN_PROC_BROWSER_TEST_P(PageActionBrowserTest, SameDocumentNavigation) { … }
IN_PROC_BROWSER_TEST_P(PageActionBrowserTest, UnloadPageAction) { … }
IN_PROC_BROWSER_TEST_P(PageActionBrowserTest, PageActionRefreshCrash) { … }
}
}