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.
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_
|
|
|
|
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_
|
2020-01-15 23:11:51 +00:00
|
|
|
|
|
|
|
#include "extensions/browser/extensions_browser_api_provider.h"
|
|
|
|
|
|
|
|
namespace extensions {
|
|
|
|
|
|
|
|
class ElectronExtensionsBrowserAPIProvider
|
|
|
|
: public ExtensionsBrowserAPIProvider {
|
|
|
|
public:
|
|
|
|
ElectronExtensionsBrowserAPIProvider();
|
|
|
|
~ElectronExtensionsBrowserAPIProvider() override;
|
|
|
|
|
2021-11-03 11:41:45 +00:00
|
|
|
// disable copy
|
|
|
|
ElectronExtensionsBrowserAPIProvider(
|
|
|
|
const ElectronExtensionsBrowserAPIProvider&) = delete;
|
|
|
|
ElectronExtensionsBrowserAPIProvider& operator=(
|
|
|
|
const ElectronExtensionsBrowserAPIProvider&) = delete;
|
2020-01-15 23:11:51 +00:00
|
|
|
|
2021-11-03 11:41:45 +00:00
|
|
|
void RegisterExtensionFunctions(ExtensionFunctionRegistry* registry) override;
|
2020-01-15 23:11:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace extensions
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSIONS_BROWSER_API_PROVIDER_H_
|