2020-01-15 23:11:51 +00:00
|
|
|
// Copyright (c) 2019 Slack Technologies, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "shell/browser/extensions/electron_extensions_browser_api_provider.h"
|
|
|
|
|
|
|
|
#include "extensions/browser/extension_function_registry.h"
|
2020-02-13 00:39:12 +00:00
|
|
|
#include "shell/browser/extensions/api/generated_api_registration.h"
|
2020-03-05 14:56:21 +00:00
|
|
|
#include "shell/browser/extensions/api/i18n/i18n_api.h"
|
2020-01-15 23:11:51 +00:00
|
|
|
#include "shell/browser/extensions/api/tabs/tabs_api.h"
|
|
|
|
|
|
|
|
namespace extensions {
|
|
|
|
|
|
|
|
ElectronExtensionsBrowserAPIProvider::ElectronExtensionsBrowserAPIProvider() =
|
|
|
|
default;
|
|
|
|
ElectronExtensionsBrowserAPIProvider::~ElectronExtensionsBrowserAPIProvider() =
|
|
|
|
default;
|
|
|
|
|
|
|
|
void ElectronExtensionsBrowserAPIProvider::RegisterExtensionFunctions(
|
|
|
|
ExtensionFunctionRegistry* registry) {
|
|
|
|
// Generated APIs from Electron.
|
|
|
|
api::ElectronGeneratedFunctionRegistry::RegisterAll(registry);
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace extensions
|