chromium/third_party/crashpad/crashpad/minidump/minidump_memory_writer.cc

// Copyright 2014 The Crashpad Authors
//
// 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 "minidump/minidump_memory_writer.h"

#include <algorithm>
#include <iterator>
#include <utility>

#include "base/auto_reset.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"

namespace crashpad {

SnapshotMinidumpMemoryWriter::SnapshotMinidumpMemoryWriter(
    const MemorySnapshot* memory_snapshot)
    :{}

SnapshotMinidumpMemoryWriter::~SnapshotMinidumpMemoryWriter() {}

bool SnapshotMinidumpMemoryWriter::MemorySnapshotDelegateRead(void* data,
                                                              size_t size) {}

bool SnapshotMinidumpMemoryWriter::WriteObject(
    FileWriterInterface* file_writer) {}

const MINIDUMP_MEMORY_DESCRIPTOR*
SnapshotMinidumpMemoryWriter::MinidumpMemoryDescriptor() const {}

void SnapshotMinidumpMemoryWriter::RegisterMemoryDescriptor(
    MINIDUMP_MEMORY_DESCRIPTOR* memory_descriptor) {}

bool SnapshotMinidumpMemoryWriter::Freeze() {}

size_t SnapshotMinidumpMemoryWriter::Alignment() {}

size_t SnapshotMinidumpMemoryWriter::SizeOfObject() {}

bool SnapshotMinidumpMemoryWriter::WillWriteAtOffsetImpl(FileOffset offset) {}

internal::MinidumpWritable::Phase SnapshotMinidumpMemoryWriter::WritePhase() {}

MinidumpMemoryListWriter::MinidumpMemoryListWriter()
    :{}

MinidumpMemoryListWriter::~MinidumpMemoryListWriter() {}

void MinidumpMemoryListWriter::AddFromSnapshot(
    const std::vector<const MemorySnapshot*>& memory_snapshots) {}

void MinidumpMemoryListWriter::AddMemory(
    std::unique_ptr<SnapshotMinidumpMemoryWriter> memory_writer) {}

void MinidumpMemoryListWriter::AddNonOwnedMemory(
    SnapshotMinidumpMemoryWriter* memory_writer) {}

void MinidumpMemoryListWriter::CoalesceOwnedMemory() {}

bool MinidumpMemoryListWriter::Freeze() {}

size_t MinidumpMemoryListWriter::SizeOfObject() {}

std::vector<internal::MinidumpWritable*> MinidumpMemoryListWriter::Children() {}

bool MinidumpMemoryListWriter::WriteObject(FileWriterInterface* file_writer) {}

MinidumpStreamType MinidumpMemoryListWriter::StreamType() const {}

void MinidumpMemoryListWriter::DropRangesThatOverlapNonOwned() {}

}  // namespace crashpad