Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(737)

Unified Diff: content/public/browser/pepper_helper.h

Issue 10907102: Add a PepperHelper::EnablePepperSupportForChannel function to content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
jam 2012/09/10 05:39:11 nit: not needed anymore
bbudge 2012/09/10 17:05:08 Done.
+}
+namespace IPC {
+class ChannelProxy;
+}
+
+namespace content {
+
+// Enables dispatching PPAPI messages from the plugin to the browser.
+CONTENT_EXPORT void EnablePepperSupportForChannel(
+ IPC::ChannelProxy* channel,
+ int renderer_process_id);
jam 2012/09/10 05:39:11 nit: render_process_id by convention
bbudge 2012/09/10 17:05:08 Done.
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_PEPPER_HELPER_H_
+
« no previous file with comments | « content/content_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698