#include <memory>
#include <string>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/scoped_refptr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/test/task_environment.h"
#include "chrome/browser/media/router/discovery/dial/dial_url_fetcher.h"
#include "chrome/browser/media/router/test/provider_test_helpers.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "net/base/load_flags.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_status_code.h"
#include "services/network/public/mojom/url_response_head.mojom.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
_;
HasSubstr;
NiceMock;
namespace media_router {
class DialURLFetcherTest : public testing::Test { … };
TEST_F(DialURLFetcherTest, FetchSuccessful) { … }
TEST_F(DialURLFetcherTest, FetchFailsOnMissingAppInfo) { … }
TEST_F(DialURLFetcherTest, FetchFailsOnEmptyAppInfo) { … }
TEST_F(DialURLFetcherTest, FetchFailsOnBadAppInfo) { … }
}