Chromium Code Reviews| Index: content/public/browser/pepper_helper.h |
| =================================================================== |
| --- content/public/browser/pepper_helper.h (revision 0) |
| +++ content/public/browser/pepper_helper.h (revision 0) |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_PEPPER_HELPER_H_ |
| +#define CONTENT_PUBLIC_BROWSER_PEPPER_HELPER_H_ |
| + |
| +#include "content/common/content_export.h" |
| + |
| +namespace net { |
| +class HostResolver; |
| +} |
| +namespace IPC { |
|
brettw
2012/09/11 22:40:13
Nit: can you put this above? I like to keep the na
bbudge
2012/09/11 22:44:18
Done.
|
| +class ChannelProxy; |
| +} |
| + |
| +namespace content { |
| + |
| +// Enables dispatching PPAPI messages from the plugin to the browser. |
| +CONTENT_EXPORT void EnablePepperSupportForChannel( |
| + IPC::ChannelProxy* channel, |
| + net::HostResolver* host_resolver); |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_PEPPER_HELPER_H_ |
| + |