#include "third_party/blink/public/common/blob/blob_utils.h"
#include <algorithm>
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "base/numerics/clamped_math.h"
#include "services/network/public/cpp/features.h"
#include "third_party/blink/public/common/features.h"
namespace blink {
constexpr uint64_t BlobUtils::kUnknownSize;
namespace {
BASE_FEATURE(…);
constexpr int kBlobMinDataPipeCapacity = …;
constexpr int kBlobDefaultDataPipeCapacity = …;
constexpr base::FeatureParam<int> kBlobDataPipeCapacity{ … };
constexpr int kBlobMinDataPipeChunkSize = …;
constexpr int kBlobDefaultDataPipeChunkSize = …;
constexpr base::FeatureParam<int> kBlobDataPipeChunkSize{ … };
}
uint32_t BlobUtils::GetDataPipeCapacity(uint64_t target_blob_size) { … }
uint32_t BlobUtils::GetDataPipeChunkSize() { … }
}