#include "chrome/browser/extensions/browsertest_util.h"
#include <memory>
#include "base/feature_list.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/apps/app_service/app_launch_params.h"
#include "chrome/browser/apps/app_service/app_service_proxy.h"
#include "chrome/browser/apps/app_service/app_service_proxy_factory.h"
#include "chrome/browser/apps/app_service/browser_app_launcher.h"
#include "chrome/browser/extensions/launch_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/web_applications/web_app_helpers.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/services/app_service/public/cpp/app_launch_util.h"
#include "content/public/test/test_utils.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_system.h"
#include "extensions/common/extension.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ash/constants/ash_paths.h"
#include "chrome/browser/extensions/updater/local_extension_cache.h"
#endif
namespace extensions::browsertest_util {
void CreateAndInitializeLocalCache() { … }
Browser* LaunchAppBrowser(Profile* profile, const Extension* extension_app) { … }
content::WebContents* AddTab(Browser* browser, const GURL& url) { … }
bool DidChangeTitle(content::WebContents& web_contents,
const std::u16string& original_title,
const std::u16string& changed_title) { … }
BlockedActionWaiter::BlockedActionWaiter(ExtensionActionRunner* runner)
: … { … }
BlockedActionWaiter::~BlockedActionWaiter() { … }
void BlockedActionWaiter::Wait() { … }
void BlockedActionWaiter::OnBlockedActionAdded() { … }
}