27 lines
860 B
C++
27 lines
860 B
C++
// 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 "base/macros.h"
|
|
#include "extensions/browser/extensions_browser_api_provider.h"
|
|
|
|
namespace extensions {
|
|
|
|
class CefExtensionsBrowserAPIProvider : public ExtensionsBrowserAPIProvider {
|
|
public:
|
|
CefExtensionsBrowserAPIProvider();
|
|
~CefExtensionsBrowserAPIProvider() override;
|
|
|
|
void RegisterExtensionFunctions(ExtensionFunctionRegistry* registry) override;
|
|
|
|
private:
|
|
DISALLOW_COPY_AND_ASSIGN(CefExtensionsBrowserAPIProvider);
|
|
};
|
|
|
|
} // namespace extensions
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSIONS_BROWSER_API_PROVIDER_H_
|