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

Unified Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 16154005: Remove dependency from NaCl code on chrome_constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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/browser/nacl_host/nacl_process_host.h
diff --git a/chrome/browser/nacl_host/nacl_process_host.h b/chrome/browser/nacl_host/nacl_process_host.h
index 5a0d80b7ebf8a584673c125fb6d0264e4edac1f4..ed871c6699fc3d385160424f67939ba565d96b0c 100644
--- a/chrome/browser/nacl_host/nacl_process_host.h
+++ b/chrome/browser/nacl_host/nacl_process_host.h
@@ -112,6 +112,11 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
// is enabled.
SocketDescriptor GetDebugStubSocketHandle();
#endif
+#if defined(OS_WIN)
+ // Get path to NaCl loader on local disk if possible.
Mark Seaborn 2013/05/31 19:42:30 Nit: "disk" -> "filesystem", since a lot of system
+ // |exe_path| does not change if the method fails.
+ bool GetNaclAppPath(base::FilePath& exe_path);
dmichael (off chromium) 2013/05/31 19:42:18 style nit: We use pointers for out-params in Chrom
Mark Seaborn 2013/05/31 19:42:30 This should be spelled as "NaCl", not "Nacl". Can
+#endif
// Get path to manifest on local disk if possible.
base::FilePath GetManifestPath();
bool LaunchSelLdr();

Powered by Google App Engine
This is Rietveld 408576698