chromium/extensions/browser/extension_error.cc

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

#include "extensions/browser/extension_error.h"

#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension_id.h"
#include "url/gurl.h"

namespace extensions {

////////////////////////////////////////////////////////////////////////////////
// ExtensionError

ExtensionError::ExtensionError(Type type,
                               const ExtensionId& extension_id,
                               bool from_incognito,
                               logging::LogSeverity level,
                               const std::u16string& source,
                               const std::u16string& message)
    :{}

ExtensionError::~ExtensionError() {}

std::string ExtensionError::GetDebugString() const {}

bool ExtensionError::IsEqual(const ExtensionError* rhs) const {}

////////////////////////////////////////////////////////////////////////////////
// ManifestError

ManifestError::ManifestError(const ExtensionId& extension_id,
                             const std::u16string& message,
                             const std::string& manifest_key,
                             const std::u16string& manifest_specific)
    :{}

ManifestError::~ManifestError() {}

std::string ManifestError::GetDebugString() const {}

bool ManifestError::IsEqualImpl(const ExtensionError* rhs) const {}

////////////////////////////////////////////////////////////////////////////////
// RuntimeError

RuntimeError::RuntimeError(const ExtensionId& extension_id,
                           bool from_incognito,
                           const std::u16string& source,
                           const std::u16string& message,
                           const StackTrace& stack_trace,
                           const GURL& context_url,
                           logging::LogSeverity level,
                           int render_frame_id,
                           int render_process_id)
    :{}

RuntimeError::~RuntimeError() {}

std::string RuntimeError::GetDebugString() const {}

bool RuntimeError::IsEqualImpl(const ExtensionError* rhs) const {}

void RuntimeError::CleanUpInit() {}

////////////////////////////////////////////////////////////////////////////////
// InternalError

InternalError::InternalError(const ExtensionId& extension_id,
                             const std::u16string& message,
                             logging::LogSeverity level)
    :{}

InternalError::~InternalError() {}

std::string InternalError::GetDebugString() const {}

bool InternalError::IsEqualImpl(const ExtensionError* rhs) const {}

}  // namespace extensions