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

Unified Diff: components/nacl/loader/nacl_listener.h

Issue 301993003: NaCl: Split out Non-SFI logic when starting NaCl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better TODO message. Created 6 years, 6 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 | « no previous file | components/nacl/loader/nacl_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/loader/nacl_listener.h
diff --git a/components/nacl/loader/nacl_listener.h b/components/nacl/loader/nacl_listener.h
index f216d922949229fc0e6949df89a334524704930c..6ca1ec2cb792f9344fc1e604925bb5d18b8a639a 100644
--- a/components/nacl/loader/nacl_listener.h
+++ b/components/nacl/loader/nacl_listener.h
@@ -14,6 +14,10 @@
#include "components/nacl/loader/nacl_trusted_listener.h"
#include "ipc/ipc_listener.h"
+namespace base {
+class MessageLoopProxy;
+}
+
namespace IPC {
class SyncChannel;
class SyncMessageFilter;
@@ -45,9 +49,17 @@ class NaClListener : public IPC::Listener {
#endif
private:
- void OnStart(const nacl::NaClStartParams& params);
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
+ void OnStart(const nacl::NaClStartParams& params);
+
+ // Non-SFI version of OnStart().
+ void StartNonSfi(const nacl::NaClStartParams& params);
+
+ IPC::ChannelHandle CreateTrustedListener(
+ base::MessageLoopProxy* message_loop_proxy,
+ base::WaitableEvent* shutdown_event);
+
// A channel back to the browser.
scoped_ptr<IPC::SyncChannel> channel_;
« no previous file with comments | « no previous file | components/nacl/loader/nacl_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698