#include "chrome/browser/web_applications/isolated_web_apps/isolated_web_app_downloader.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/scoped_refptr.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "net/http/http_status_code.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/test/test_url_loader_factory.h"
#include "services/network/test/test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace web_app {
namespace {
Eq;
IsFalse;
IsTrue;
class IsolatedWebAppDownloaderTest : public ::testing::Test { … };
TEST_F(IsolatedWebAppDownloaderTest, SuccessfulDownload) { … }
TEST_F(IsolatedWebAppDownloaderTest, FailedDownload) { … }
}
}