summaryrefslogtreecommitdiffstats
path: root/chrome/nacl/nacl_thread.h
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 22:55:28 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-28 22:55:28 +0000
commita63736b3293cec5d2f1ad3588dc15aa54ae74c6b (patch)
tree822afb79561c2986d55bbd8171971f504dcf4f7b /chrome/nacl/nacl_thread.h
parentd4799a3bf70ecc62ab702150cae1d1e925b14938 (diff)
downloadchromium_src-a63736b3293cec5d2f1ad3588dc15aa54ae74c6b.zip
chromium_src-a63736b3293cec5d2f1ad3588dc15aa54ae74c6b.tar.gz
chromium_src-a63736b3293cec5d2f1ad3588dc15aa54ae74c6b.tar.bz2
Update the interface between Chrome and sel_main_chrome. Added a debug flag in the nacl_thread class.
Moved static LaunchNaClChildProcess inline since we need access to variables from the single caller. BUG=http://code.google.com/p/nativeclient/issues/detail?id=728 TEST=none Test to be added to NaCl integration bots. Review URL: http://codereview.chromium.org/3527001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl/nacl_thread.h')
-rw-r--r--chrome/nacl/nacl_thread.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/nacl/nacl_thread.h b/chrome/nacl/nacl_thread.h
index f7272d1..f87fc969 100644
--- a/chrome/nacl/nacl_thread.h
+++ b/chrome/nacl/nacl_thread.h
@@ -14,7 +14,7 @@
// started.
class NaClThread : public ChildThread {
public:
- NaClThread();
+ explicit NaClThread(bool debug);
~NaClThread();
// Returns the one NaCl thread.
static NaClThread* current();
@@ -23,6 +23,8 @@ class NaClThread : public ChildThread {
virtual void OnControlMessageReceived(const IPC::Message& msg);
void OnStartSelLdr(std::vector<nacl::FileDescriptor> handles);
+ int debug_enabled_;
+
// TODO(gregoryd): do we need to override Cleanup as in PluginThread?
DISALLOW_COPY_AND_ASSIGN(NaClThread);
};