#include "extensions/browser/api_unittest.h"
#include "base/values.h"
#include "components/user_prefs/user_prefs.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_client.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/test_browser_context.h"
#include "content/public/test/web_contents_tester.h"
#include "extensions/browser/api_test_utils.h"
#include "extensions/browser/extension_function.h"
#include "extensions/browser/test_extensions_browser_client.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/manifest.h"
utils;
namespace extensions {
ApiUnitTest::ApiUnitTest() = default;
ApiUnitTest::~ApiUnitTest() = default;
void ApiUnitTest::SetUp() { … }
void ApiUnitTest::TearDown() { … }
void ApiUnitTest::CreateExtensionPage() { … }
std::optional<base::Value> ApiUnitTest::RunFunctionAndReturnValue(
ExtensionFunction* function,
api_test_utils::ArgsType args) { … }
std::string ApiUnitTest::RunFunctionAndReturnError(
ExtensionFunction* function,
api_test_utils::ArgsType args) { … }
void ApiUnitTest::RunFunction(ExtensionFunction* function,
api_test_utils::ArgsType args) { … }
}