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

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 17198013: Don't use PathService for the location of nacl_helper and nacl_helper_bootstrap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 | chrome/app/nacl_fork_delegate_linux.cc » ('j') | chrome/app/nacl_fork_delegate_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index 06f8c17934d0d014f905fa368caa56dde298f76e..9e239db2b4abdf03bc9f42f736d00b129d3ac1b1 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -62,9 +62,12 @@
#include <signal.h>
#endif
+#if !defined(DISABLE_NACL)
#if defined(OS_POSIX) && !defined(OS_MACOSX)
#include "chrome/app/nacl_fork_delegate_linux.h"
+#include "chrome/common/nacl_paths.h"
#endif
+#endif // !defined(DISABLE_NACL)
#if defined(OS_CHROMEOS)
#include "base/sys_info.h"
@@ -474,6 +477,11 @@ void ChromeMainDelegate::PreSandboxStartup() {
#if defined(OS_CHROMEOS)
chromeos::RegisterPathProvider();
#endif
+#if !defined(DISABLE_NACL)
+#if defined(OS_POSIX) && !defined(OS_MACOSX)
Mark Seaborn 2013/06/21 13:53:26 This can be #if !defined(DISABLE_NACL) && defined(
+ nacl::RegisterPathProvider();
+#endif
+#endif // !defined(DISABLE_NACL)
#if defined(OS_MACOSX)
// On the Mac, the child executable lives at a predefined location within
« no previous file with comments | « no previous file | chrome/app/nacl_fork_delegate_linux.cc » ('j') | chrome/app/nacl_fork_delegate_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698