Ben Goodger | b616915 | 2017-07-22 04:09:43 | [diff] [blame] | 1 | // Copyright 2015 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 CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_INTERFACE_REGISTRATION_H_ |
| 6 | #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_INTERFACE_REGISTRATION_H_ |
| 7 | |
| 8 | #include "services/service_manager/public/cpp/binder_registry.h" |
| 9 | |
| 10 | namespace content { |
| 11 | class RenderFrameHost; |
| 12 | } // namespace content |
| 13 | |
| 14 | namespace extensions { |
| 15 | |
| 16 | class Extension; |
| 17 | |
| 18 | void RegisterChromeInterfacesForExtension( |
| 19 | service_manager::BinderRegistryWithArgs<content::RenderFrameHost*>* |
| 20 | registry, |
| 21 | content::RenderFrameHost* render_frame_host, |
| 22 | const Extension* extension); |
| 23 | |
| 24 | } // namespace extensions |
| 25 | |
| 26 | #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_INTERFACE_REGISTRATION_H_ |