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

Side by Side Diff: content/browser/browser_child_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, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 28 matching lines...) Expand all
39 // instance. 39 // instance.
40 static void TerminateAll(); 40 static void TerminateAll();
41 41
42 // BrowserChildProcessHost implementation: 42 // BrowserChildProcessHost implementation:
43 virtual bool Send(IPC::Message* message) OVERRIDE; 43 virtual bool Send(IPC::Message* message) OVERRIDE;
44 virtual void Launch( 44 virtual void Launch(
45 #if defined(OS_WIN) 45 #if defined(OS_WIN)
46 SandboxedProcessLauncherDelegate* delegate, 46 SandboxedProcessLauncherDelegate* delegate,
47 #elif defined(OS_POSIX) 47 #elif defined(OS_POSIX)
48 bool use_zygote, 48 bool use_zygote,
49 const base::EnvironmentVector& environ, 49 const base::EnvironmentMap& environ,
50 #endif 50 #endif
51 CommandLine* cmd_line) OVERRIDE; 51 CommandLine* cmd_line) OVERRIDE;
52 virtual const ChildProcessData& GetData() const OVERRIDE; 52 virtual const ChildProcessData& GetData() const OVERRIDE;
53 virtual ChildProcessHost* GetHost() const OVERRIDE; 53 virtual ChildProcessHost* GetHost() const OVERRIDE;
54 virtual base::TerminationStatus GetTerminationStatus( 54 virtual base::TerminationStatus GetTerminationStatus(
55 bool known_dead, int* exit_code) OVERRIDE; 55 bool known_dead, int* exit_code) OVERRIDE;
56 virtual void SetName(const string16& name) OVERRIDE; 56 virtual void SetName(const string16& name) OVERRIDE;
57 virtual void SetHandle(base::ProcessHandle handle) OVERRIDE; 57 virtual void SetHandle(base::ProcessHandle handle) OVERRIDE;
58 58
59 // Returns the handle of the child process. This can be called only after 59 // Returns the handle of the child process. This can be called only after
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Watches to see if the child process exits before the IPC channel has 112 // Watches to see if the child process exits before the IPC channel has
113 // been connected. Thereafter, its exit is determined by an error on the 113 // been connected. Thereafter, its exit is determined by an error on the
114 // IPC channel. 114 // IPC channel.
115 base::WaitableEventWatcher early_exit_watcher_; 115 base::WaitableEventWatcher early_exit_watcher_;
116 #endif 116 #endif
117 }; 117 };
118 118
119 } // namespace content 119 } // namespace content
120 120
121 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 121 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chromeos/process_proxy/process_proxy.cc ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698