Index: components/nacl/browser/nacl_browser.h |
diff --git a/components/nacl/browser/nacl_browser.h b/components/nacl/browser/nacl_browser.h |
index 93dcb4230cf12b94ee098ba4052beb05e75f2668..8e3e9eff3f4dac2bfd5bdca2997700f6df82a9c8 100644 |
--- a/components/nacl/browser/nacl_browser.h |
+++ b/components/nacl/browser/nacl_browser.h |
@@ -28,9 +28,10 @@ namespace nacl { |
static const int kGdbDebugStubPortUnknown = -1; |
static const int kGdbDebugStubPortUnused = 0; |
-// Open an immutable executable file that can be mmapped. |
+// Open an immutable executable file that can be mmapped (or a read-only file). |
// This function should only be called on a thread that can perform file IO. |
-base::File OpenNaClExecutableImpl(const base::FilePath& file_path); |
+base::File OpenNaClReadExecImpl(const base::FilePath& file_path, |
+ bool is_executable); |
// Represents shared state for all NaClProcessHost objects in the browser. |
class NaClBrowser { |