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

Unified Diff: components/nacl/zygote/nacl_fork_delegate_linux.h

Issue 308073002: Clear environment variables for nacl_helper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: components/nacl/zygote/nacl_fork_delegate_linux.h
diff --git a/components/nacl/zygote/nacl_fork_delegate_linux.h b/components/nacl/zygote/nacl_fork_delegate_linux.h
index 12a7c772f6853464a7166fc4347902ede6ec68f0..05723d36a8280526b8c0ad2d3d21b1072af69bcb 100644
--- a/components/nacl/zygote/nacl_fork_delegate_linux.h
+++ b/components/nacl/zygote/nacl_fork_delegate_linux.h
@@ -12,6 +12,10 @@
#include "base/compiler_specific.h"
#include "content/public/common/zygote_fork_delegate_linux.h"
+namespace base {
+struct LaunchOptions;
+}
+
template <typename>
class ScopedVector;
@@ -44,6 +48,8 @@ class NaClForkDelegate : public content::ZygoteForkDelegate {
base::TerminationStatus* status,
int* exit_code) OVERRIDE;
+ static void AddPassthroughEnvToOptions(base::LaunchOptions& options);
jln (very slow on Chromium) 2014/06/02 21:31:47 Style: make this a pointer instead as it is non-co
elijahtaylor1 2014/06/03 20:47:54 Done.
+
private:
// These values are reported via UMA and hence they become permanent
// constants. Old values cannot be reused, only new ones added.

Powered by Google App Engine
This is Rietveld 408576698