OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_PEPPER_HELPER_H_ | |
6 #define CONTENT_PUBLIC_BROWSER_PEPPER_HELPER_H_ | |
7 | |
8 #include "content/common/content_export.h" | |
9 | |
10 namespace IPC { | |
11 class ChannelProxy; | |
12 } | |
13 namespace net { | |
14 class HostResolver; | |
15 } | |
16 | |
17 namespace content { | |
18 | |
19 // Enables dispatching PPAPI messages from the plugin to the browser. | |
20 CONTENT_EXPORT void EnablePepperSupportForChannel( | |
21 IPC::ChannelProxy* channel, | |
22 net::HostResolver* host_resolver, | |
23 int process_id, | |
24 int render_view_id); | |
25 | |
26 } // namespace content | |
27 | |
28 #endif // CONTENT_PUBLIC_BROWSER_PEPPER_HELPER_H_ | |
29 | |
OLD | NEW |