chromium/third_party/crashpad/crashpad/minidump/minidump_system_info_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_system_info_writer.h"

#include <string.h>

#include <iterator>

#include "base/check_op.h"
#include "base/notreached.h"
#include "minidump/minidump_string_writer.h"
#include "snapshot/system_snapshot.h"
#include "util/file/file_writer.h"
#include "util/misc/arraysize.h"
#include "util/misc/implicit_cast.h"

namespace crashpad {

namespace {

uint64_t AMD64FeaturesFromSystemSnapshot(
    const SystemSnapshot* system_snapshot) {}

}  // namespace

MinidumpSystemInfoWriter::MinidumpSystemInfoWriter()
    :{}

MinidumpSystemInfoWriter::~MinidumpSystemInfoWriter() {}

void MinidumpSystemInfoWriter::InitializeFromSnapshot(
    const SystemSnapshot* system_snapshot) {}

void MinidumpSystemInfoWriter::SetCSDVersion(const std::string& csd_version) {}

void MinidumpSystemInfoWriter::SetCPUX86Vendor(uint32_t ebx,
                                               uint32_t edx,
                                               uint32_t ecx) {}

void MinidumpSystemInfoWriter::SetCPUX86VendorString(
    const std::string& vendor) {}

void MinidumpSystemInfoWriter::SetCPUX86VersionAndFeatures(uint32_t version,
                                                           uint32_t features) {}

void MinidumpSystemInfoWriter::SetCPUX86AMDExtendedFeatures(
    uint32_t extended_features) {}

void MinidumpSystemInfoWriter::SetCPUOtherFeatures(uint64_t features_0,
                                                   uint64_t features_1) {}

bool MinidumpSystemInfoWriter::Freeze() {}

size_t MinidumpSystemInfoWriter::SizeOfObject() {}

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

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

MinidumpStreamType MinidumpSystemInfoWriter::StreamType() const {}

}  // namespace crashpad