2018-09-04 11:43:21 +02:00
|
|
|
// Copyright 2018 The Chromium Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSIONS_BROWSER_API_PROVIDER_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSIONS_BROWSER_API_PROVIDER_H_
|
|
|
|
|
|
|
|
#include "extensions/browser/extensions_browser_api_provider.h"
|
|
|
|
|
|
|
|
namespace extensions {
|
|
|
|
|
|
|
|
class CefExtensionsBrowserAPIProvider : public ExtensionsBrowserAPIProvider {
|
|
|
|
public:
|
|
|
|
CefExtensionsBrowserAPIProvider();
|
2021-12-06 21:40:25 +01:00
|
|
|
|
|
|
|
CefExtensionsBrowserAPIProvider(const CefExtensionsBrowserAPIProvider&) =
|
|
|
|
delete;
|
|
|
|
CefExtensionsBrowserAPIProvider& operator=(
|
|
|
|
const CefExtensionsBrowserAPIProvider&) = delete;
|
|
|
|
|
2018-09-04 11:43:21 +02:00
|
|
|
~CefExtensionsBrowserAPIProvider() override;
|
|
|
|
|
|
|
|
void RegisterExtensionFunctions(ExtensionFunctionRegistry* registry) override;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace extensions
|
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSIONS_BROWSER_API_PROVIDER_H_
|