#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) { … }
}
}