|
Move AlterEnvironment to base/environment.h, implement on Windows. This re-implements the Posix version to be more like the Windows version and to share some parsing code. The new version will be somewhat slower due to some extra mallocs, but is shorter and more clear. I didn't want to implement a super optimized version on Windows, and the alternative would be to keep the new Windows version and the old Posix version in parallel which seemed less desirable.
This changes the input from a vector to a map and just adds the map on the LaunchOptions rather than requiring the caller to set a pointer. This cleans up the callsites somewhat.
BUG=
R=viettrungluu@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220608
Total comments: 7
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+338 lines, -282 lines) |
Patch |
 |
M |
base/base.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
base/environment.h
|
View
|
1
2
3
4
5
|
2 chunks |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/environment.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+118 lines, -8 lines |
0 comments
|
Download
|
 |
M |
base/environment_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
4 chunks |
+84 lines, -5 lines |
0 comments
|
Download
|
 |
M |
base/process/launch.h
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -42 lines |
0 comments
|
Download
|
 |
A |
base/process/launch.cc
|
View
|
1
2
3
4
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/process/launch_posix.cc
|
View
|
1
2
3
|
3 chunks |
+3 lines, -125 lines |
0 comments
|
Download
|
 |
M |
base/process/process_util_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+11 lines, -54 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/importer/external_process_importer_client.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/nacl_host/nacl_process_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/platform_util_linux.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/test/chromedriver/chrome_launcher.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/utility/importer/firefox_importer_unittest_utils_mac.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chromeos/process_proxy/process_proxy.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_child_process_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_child_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/child_process_launcher.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/child_process_launcher.cc
|
View
|
1
2
3
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/plugin_process_host.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/ppapi_plugin_process_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/utility_process_host_impl.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/utility_process_host_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/worker_host/worker_process_host.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/browser_child_process_host.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/utility_process_host.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|