• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2018 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSIONS_BROWSER_API_PROVIDER_H_
6 #define CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSIONS_BROWSER_API_PROVIDER_H_
7 
8 #include "extensions/browser/extensions_browser_api_provider.h"
9 
10 namespace extensions {
11 
12 class CefExtensionsBrowserAPIProvider : public ExtensionsBrowserAPIProvider {
13  public:
14   CefExtensionsBrowserAPIProvider();
15 
16   CefExtensionsBrowserAPIProvider(const CefExtensionsBrowserAPIProvider&) =
17       delete;
18   CefExtensionsBrowserAPIProvider& operator=(
19       const CefExtensionsBrowserAPIProvider&) = delete;
20 
21   ~CefExtensionsBrowserAPIProvider() override;
22 
23   void RegisterExtensionFunctions(ExtensionFunctionRegistry* registry) override;
24 };
25 
26 }  // namespace extensions
27 
28 #endif  // CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSIONS_BROWSER_API_PROVIDER_H_
29