#include "chrome/browser/web_applications/commands/fetch_installability_for_chrome_management.h"
#include <memory>
#include <optional>
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#include "chrome/browser/web_applications/test/fake_data_retriever.h"
#include "chrome/browser/web_applications/test/fake_web_app_provider.h"
#include "chrome/browser/web_applications/test/test_web_app_url_loader.h"
#include "chrome/browser/web_applications/test/web_app_install_test_utils.h"
#include "chrome/browser/web_applications/test/web_app_test.h"
#include "chrome/browser/web_applications/web_app_command_manager.h"
#include "chrome/browser/web_applications/web_app_helpers.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_contents/web_app_data_retriever.h"
#include "components/webapps/browser/installable/installable_logging.h"
#include "components/webapps/browser/web_contents/web_app_url_loader.h"
#include "components/webapps/common/web_app_id.h"
#include "content/public/browser/web_contents.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace web_app {
namespace {
AllOf;
Eq;
Field;
class FetchInstallabilityForChromeManagementTest : public WebAppTest { … };
TEST_F(FetchInstallabilityForChromeManagementTest, UrlLoadError) { … }
TEST_F(FetchInstallabilityForChromeManagementTest, NotInstallable) { … }
TEST_F(FetchInstallabilityForChromeManagementTest, Installable) { … }
TEST_F(FetchInstallabilityForChromeManagementTest, AlreadyInstalled) { … }
}
}