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

Unified Diff: chrome/nacl/nacl_broker_listener.h

Issue 12805004: Remove mention of the nacl process in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 9 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/nacl/nacl_broker_listener.h
===================================================================
--- chrome/nacl/nacl_broker_listener.h (revision 189099)
+++ chrome/nacl/nacl_broker_listener.h (working copy)
@@ -8,6 +8,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/process.h"
#include "chrome/common/nacl_types.h"
+#include "content/public/common/sandboxed_process_launcher_delegate.h"
#include "ipc/ipc_listener.h"
namespace IPC {
@@ -16,13 +17,18 @@
// The BrokerThread class represents the thread that handles the messages from
// the browser process and starts NaCl loader processes.
-class NaClBrokerListener : public IPC::Listener {
+class NaClBrokerListener : public content::SandboxedProcessLauncherDelegate,
+ public IPC::Listener {
public:
NaClBrokerListener();
~NaClBrokerListener();
void Listen();
+ // content::SandboxedProcessLauncherDelegate implementation:
+ virtual void PreSpawnTarget(sandbox::TargetPolicy* policy,
+ bool* success);
cpu_(ooo_6.6-7.5) 2013/03/19 21:25:48 OVERRIDE
+
// IPC::Listener implementation.
virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698