#include "components/webapps/browser/web_contents/web_app_url_loader.h"
#include <memory>
#include <optional>
#include "base/location.h"
#include "base/memory/ptr_util.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "base/test/test_future.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace webapps {
class WebAppUrlLoaderTest : public content::RenderViewHostTestHarness { … };
TEST_F(WebAppUrlLoaderTest, Url1Redirected_ThenUrl2Loaded) { … }
TEST_F(WebAppUrlLoaderTest, Url1DidFailLoad_ThenUrl2Loaded) { … }
TEST_F(WebAppUrlLoaderTest, PrepareForLoad_ExcessiveDidFinishLoad) { … }
TEST_F(WebAppUrlLoaderTest, PrepareForLoad_ExcessiveDidFailLoad) { … }
}