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

Unified Diff: content/browser/utility_process_host_impl.h

Issue 22750002: Move AlterEnvironment to base/environment.h, implement on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 4 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: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 5443e09bfe531116e955ff0931c55f7bc4fa83d9..039e20f8c509c7487985535af442eada990adc05 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -42,7 +43,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
virtual void EnableZygote() OVERRIDE;
virtual const ChildProcessData& GetData() OVERRIDE;
#if defined(OS_POSIX)
- virtual void SetEnv(const base::EnvironmentVector& env) OVERRIDE;
+ virtual void SetEnv(const base::EnvironmentMap& env) OVERRIDE;
#endif
void set_child_flags(int flags) { child_flags_ = flags; }
@@ -77,7 +78,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
// Launch the utility process from the zygote. Defaults to false.
bool use_linux_zygote_;
- base::EnvironmentVector env_;
+ base::EnvironmentMap env_;
bool started_;
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698