#include "chrome/browser/web_applications/isolated_web_apps/pending_install_info.h"
#include <memory>
#include "base/check.h"
#include "base/files/file_path.h"
#include "base/memory/raw_ref.h"
#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_source.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/origin.h"
namespace web_app {
namespace {
Eq;
IsFalse;
Optional;
std::unique_ptr<TestingProfile> CreateTestingProfile() { … }
class WebContentsContainer { … };
class PendingInstallInfoTest : public ::testing::Test { … };
TEST_F(PendingInstallInfoTest, SameInstallInfoForTheSameWebContents) { … }
TEST_F(PendingInstallInfoTest, DifferentInstancesForDifferentWebContents) { … }
TEST_F(PendingInstallInfoTest, CanSetAndGetIsolatedWebAppLocation) { … }
TEST_F(PendingInstallInfoTest, CanSetAndGetAnotherIsolatedWebAppLocation) { … }
TEST_F(PendingInstallInfoTest, IsolatedWebAppLocationIsEmptyAfterReset) { … }
}
}