chromium/third_party/blink/renderer/modules/netinfo/testing/internals_net_info.cc

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

#include "third_party/blink/renderer/modules/netinfo/testing/internals_net_info.h"

#include "third_party/blink/public/platform/web_connection_type.h"
#include "third_party/blink/public/platform/web_effective_connection_type.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_client.h"
#include "third_party/blink/renderer/core/testing/internals.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/network/network_state_notifier.h"

namespace blink {

void InternalsNetInfo::setNetworkConnectionInfoOverride(
    Internals& internals,
    bool on_line,
    const String& type,
    const String& effective_type,
    uint32_t http_rtt_msec,
    double downlink_max_mbps,
    ExceptionState& exception_state) {}

void InternalsNetInfo::setSaveDataEnabled(Internals&, bool enabled) {}

void InternalsNetInfo::clearNetworkConnectionInfoOverride(Internals&) {}

}  // namespace blink