chromium/third_party/perfetto/src/protozero/test/fake_scattered_buffer.cc

/*
 * Copyright (C) 2017 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "src/protozero/test/fake_scattered_buffer.h"

#include <iomanip>
#include <sstream>
#include <utility>

#include "test/gtest_and_gmock.h"

namespace protozero {

namespace {

std::string ToHex(const void* data, size_t length) {}

}  // namespace

FakeScatteredBuffer::FakeScatteredBuffer(size_t chunk_size)
    :{}

FakeScatteredBuffer::~FakeScatteredBuffer() {}

ContiguousMemoryRange FakeScatteredBuffer::GetNewBuffer() {}

std::string FakeScatteredBuffer::GetChunkAsString(size_t chunk_index) {}

void FakeScatteredBuffer::GetBytes(size_t start, size_t length, uint8_t* buf) {}

std::string FakeScatteredBuffer::GetBytesAsString(size_t start, size_t length) {}

}  // namespace protozero