#include "chrome/browser/extensions/extension_api_unittest.h"
#include <array>
#include "chrome/browser/ui/browser.h"
#include "extensions/browser/api_test_utils.h"
#include "extensions/browser/extension_function.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/manifest.h"
#include "extensions/common/manifest_handlers/background_info.h"
utils;
namespace extensions {
ExtensionApiUnittest::~ExtensionApiUnittest() { … }
void ExtensionApiUnittest::SetUp() { … }
std::optional<base::Value> ExtensionApiUnittest::RunFunctionAndReturnValue(
scoped_refptr<ExtensionFunction> function,
const std::string& args) { … }
std::optional<base::Value::Dict>
ExtensionApiUnittest::RunFunctionAndReturnDictionary(
scoped_refptr<ExtensionFunction> function,
const std::string& args) { … }
std::optional<base::Value::List> ExtensionApiUnittest::RunFunctionAndReturnList(
scoped_refptr<ExtensionFunction> function,
const std::string& args) { … }
std::string ExtensionApiUnittest::RunFunctionAndReturnError(
scoped_refptr<ExtensionFunction> function,
const std::string& args) { … }
void ExtensionApiUnittest::RunFunction(
scoped_refptr<ExtensionFunction> function,
const std::string& args) { … }
}