diff options
author | jvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-28 02:47:41 +0000 |
---|---|---|
committer | jvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-28 02:47:41 +0000 |
commit | b6c56d0bad98f17ee21a540fd2c14f1e09d98538 (patch) | |
tree | 7afca2570aa02f4cd78e389f7213a0c315d95c8e /components/nacl/common | |
parent | 885367fef04c0bcb845834b7cefcdc2e404ee5e6 (diff) | |
download | chromium_src-b6c56d0bad98f17ee21a540fd2c14f1e09d98538.zip chromium_src-b6c56d0bad98f17ee21a540fd2c14f1e09d98538.tar.gz chromium_src-b6c56d0bad98f17ee21a540fd2c14f1e09d98538.tar.bz2 |
Check NaCl debug mask (not just flag) before choosing PNaCl debug URL.
That way, the debug URL is chosen only if the app will be debugged.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=3765
R=bradnelson@google.com, tsepez@chromium.org
TBR=bradnelson@chromium.org, teravest@chromium.org
Review URL: https://codereview.chromium.org/212103002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/nacl/common')
-rw-r--r-- | components/nacl/common/nacl_host_messages.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/components/nacl/common/nacl_host_messages.h b/components/nacl/common/nacl_host_messages.h index 3a1e447..da7478b 100644 --- a/components/nacl/common/nacl_host_messages.h +++ b/components/nacl/common/nacl_host_messages.h @@ -104,5 +104,14 @@ IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, uint64 /* file_token_lo */, uint64 /* file_token_hi */) +// A renderer sends this to the browser process to determine how many +// processors are online. IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, int /* Number of processors */) + +// A renderer sends this to the browser process to determine if the +// NaCl application started from the given NMF URL will be debugged. +// If not (filtered out by commandline flags), it sets should_debug to false. +IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, + GURL /* alleged URL of NMF file */, + bool /* should debug */) |