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

Unified Diff: chrome/browser/nacl_host/nacl_process_host.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
Index: chrome/browser/nacl_host/nacl_process_host.h
===================================================================
--- chrome/browser/nacl_host/nacl_process_host.h (revision 154817)
+++ chrome/browser/nacl_host/nacl_process_host.h (working copy)
@@ -24,6 +24,8 @@
namespace content {
class BrowserChildProcessHost;
+class RenderProcessHost;
+class ResourceContext;
}
namespace IPC {
@@ -136,6 +138,11 @@
// the IPC proxy can be handled.
bool OnUntrustedMessageForwarded(const IPC::Message& msg);
+ // Needed to access BrowserContext and ResourceContext.
+ void EnablePpapiChannelOnUIThread(int renderer_process_id);
+ // Needed to access HostResolver.
+ void EnablePpapiChannelOnIOThread(content::ResourceContext* resource_context);
+
GURL manifest_url_;
#if defined(OS_WIN)
« no previous file with comments | « no previous file | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | chrome/browser/nacl_host/nacl_process_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698