chromium/extensions/browser/extension_error_test_util.cc

// Copyright 2014 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_test_util.h"

#include "base/logging.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "content/public/common/url_constants.h"
#include "extensions/browser/extension_error.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/stack_frame.h"
#include "url/gurl.h"

namespace extensions {
namespace error_test_util {

namespace {
const char16_t kDefaultStackTrace[] =;
}

std::unique_ptr<ExtensionError> CreateNewRuntimeError(
    const ExtensionId& extension_id,
    const std::string& message,
    bool from_incognito) {}

std::unique_ptr<ExtensionError> CreateNewRuntimeError(
    const ExtensionId& extension_id,
    const std::string& message) {}

std::unique_ptr<ExtensionError> CreateNewManifestError(
    const ExtensionId& extension_id,
    const std::string& message) {}

}  // namespace error_test_util
}  // namespace extensions