chromium/components/captive_portal/core/captive_portal_testing_utils.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/captive_portal/core/captive_portal_testing_utils.h"

#include <string_view>

#include "base/memory/ref_counted.h"
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_util.h"

namespace {

scoped_refptr<net::HttpResponseHeaders> CreateResponseHeaders(
    std::string_view response_headers) {}

}  // namespace

namespace captive_portal {

CaptivePortalDetectorTestBase::CaptivePortalDetectorTestBase()
    :{}

CaptivePortalDetectorTestBase::~CaptivePortalDetectorTestBase() {}

void CaptivePortalDetectorTestBase::SetTime(const base::Time& time) {}

void CaptivePortalDetectorTestBase::AdvanceTime(const base::TimeDelta& delta) {}

bool CaptivePortalDetectorTestBase::FetchingURL() {}

void CaptivePortalDetectorTestBase::CompleteURLFetch(
    int net_error,
    int status_code,
    std::optional<size_t> content_length,
    const char* response_headers) {}

}  // namespace captive_portal