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 "base/macros.h" 9 #include "extensions/browser/extensions_browser_api_provider.h" 10 11 namespace extensions { 12 13 class CefExtensionsBrowserAPIProvider : public ExtensionsBrowserAPIProvider { 14 public: 15 CefExtensionsBrowserAPIProvider(); 16 ~CefExtensionsBrowserAPIProvider() override; 17 18 void RegisterExtensionFunctions(ExtensionFunctionRegistry* registry) override; 19 20 private: 21 DISALLOW_COPY_AND_ASSIGN(CefExtensionsBrowserAPIProvider); 22 }; 23 24 } // namespace extensions 25 26 #endif // CEF_LIBCEF_BROWSER_EXTENSIONS_EXTENSIONS_BROWSER_API_PROVIDER_H_ 27