|
Make CommandLine into a normal object, with some statics for getting at the current process's command line.
One explicit goal of this change is to *not* deal with the string/wstring issues at the API on POSIX; the functions are the same as before, which means they remain as broken as before. (I did try to fix the internals, though, so migrating the callers is now possible by adding platform-appropriate hooks.)
Total comments: 6
Total comments: 16
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+714 lines, -745 lines) |
Patch |
 |
M |
base/command_line.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+100 lines, -59 lines |
0 comments
|
Download
|
 |
M |
base/command_line.cc
|
View
|
2
3
4
5
6
7
|
3 chunks |
+223 lines, -245 lines |
0 comments
|
Download
|
 |
M |
base/command_line_unittest.cc
|
View
|
2
3
4
5
6
|
7 chunks |
+29 lines, -44 lines |
0 comments
|
Download
|
 |
M |
base/logging.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/multiprocess_test.h
|
View
|
|
2 chunks |
+12 lines, -19 lines |
0 comments
|
Download
|
 |
M |
base/perf_test_suite.h
|
View
|
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/process_util.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/process_util_linux.cc
|
View
|
1
2
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
base/test_suite.h
|
View
|
2
3
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/app/breakpad.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/app/chrome_dll_main.cc
|
View
|
4
5
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/app/chrome_exe_main.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/app/chrome_main_uitest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browser.cc
|
View
|
4
5
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_init.cc
|
View
|
4
5
6
|
4 chunks |
+24 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_main.cc
|
View
|
4
5
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.cc
|
View
|
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/browsing_instance.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_plugin_host.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/debugger/debugger_contents.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/first_run.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/first_run.cc
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/images_uitest.cc
|
View
|
5
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/locale_tests_uitest.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_url_request_context.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/plugin_process_host.cc
|
View
|
4
5
6
|
4 chunks |
+21 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/printing/printing_layout_uitest.cc
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/render_view_context_menu_controller.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/render_view_host_manager.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/render_widget_host_view_win.cc
|
View
|
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/browser_render_process_host.cc
|
View
|
|
8 chunks |
+20 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/safe_browsing_database.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/safe_browsing_service.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/search_engines/template_url_prepopulate_data.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sessions/session_restore_uitest.cc
|
View
|
|
4 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/web_contents.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/unload_uitest.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/user_data_manager.cc
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/frame/browser_view.cc
|
View
|
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/child_process.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_paths.cc
|
View
|
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_plugin_lib.cc
|
View
|
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_plugin_util.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/common_glue.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/debug_flags.h
|
View
|
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/common/debug_flags.cc
|
View
|
|
3 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/common/ipc_channel_posix.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/ipc_logging.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/ipc_tests.cc
|
View
|
3
4
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/l10n_util.cc
|
View
|
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/logging_chrome_uitest.cc
|
View
|
4
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/common/main_function_params.h
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_service_uitest.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/temp_scaffolding_stubs.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/temp_scaffolding_stubs.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/main.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/installer/setup/setup.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/plugin/plugin_main.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/plugin/webplugin_delegate_stub.cc
|
View
|
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_process.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/render_view.cc
|
View
|
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/renderer_glue.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/renderer_main.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/automated_ui_tests/automated_ui_tests.cc
|
View
|
5
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/test/automation/automation_proxy_uitest.cc
|
View
|
4
5
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/test/memory_test/memory_test.cc
|
View
|
4
5
|
2 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/test/page_cycler/page_cycler_test.cc
|
View
|
5
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/plugin/plugin_test.cpp
|
View
|
|
1 chunk |
+5 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/test/reliability/reliability_test_suite.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/startup/startup_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/ui/inspector_controller_uitest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/ui/omnibox_uitest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/ui/sandbox_uitests.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/ui/ui_test.h
|
View
|
4
5
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/ui/ui_test.cc
|
View
|
3
4
5
6
|
7 chunks |
+48 lines, -46 lines |
0 comments
|
Download
|
 |
M |
chrome/test/ui/ui_test_suite.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/unit/chrome_test_suite.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/tools/test/image_diff/image_diff.cc
|
View
|
4
|
2 chunks |
+8 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/views/window.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/disk_cache/stress_cache.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/tools/crash_cache/crash_cache.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
net/tools/tld_cleanup/tld_cleanup.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_http_job.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/url_request/url_request_unittest.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
skia/ext/vector_canvas_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/activex_shim/activex_shared.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/plugin_list_win.cc
|
View
|
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/mac/main.mm
|
View
|
|
3 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/node_leak_test.cc
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/run_all_tests.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/test_shell.cc
|
View
|
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/test_shell_main.cc
|
View
|
3
4
5
6
|
2 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/test_shell_win.cc
|
View
|
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|