chromium/services/network/throttling/network_conditions.cc

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

#include "services/network/throttling/network_conditions.h"

#include <algorithm>

namespace network {

NetworkConditions::NetworkConditions() :{}
NetworkConditions::NetworkConditions(const NetworkConditions&) = default;
NetworkConditions& NetworkConditions::operator=(const NetworkConditions&) =
    default;

NetworkConditions::NetworkConditions(bool offline)
    :{}

NetworkConditions::NetworkConditions(bool offline,
                                     double latency,
                                     double download_throughput,
                                     double upload_throughput)
    :{}

NetworkConditions::NetworkConditions(bool offline,
                                     double latency,
                                     double download_throughput,
                                     double upload_throughput,
                                     double packet_loss,
                                     int packet_queue_length,
                                     bool packet_reordering)
    :{}

NetworkConditions::~NetworkConditions() {}

bool NetworkConditions::IsThrottling() const {}

}  // namespace network