#include "components/dom_distiller/core/distiller_url_fetcher.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/public/mojom/url_response_head.mojom.h"
#include "services/network/test/test_url_loader_factory.h"
#include "services/network/test/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
const char kTestPageA[] = …;
const char kTestPageAResponse[] = …;
const char kTestPageB[] = …;
const char kTestPageBResponse[] = …;
class DistillerURLFetcherTest : public testing::Test { … };
TEST_F(DistillerURLFetcherTest, PopulateProto) { … }
TEST_F(DistillerURLFetcherTest, PopulateProtoFailedFetch) { … }