DescriptionIf possible, use the PathService instead of the --user-data-dir flag directly
Some classes still using it directly are:
- cloud_print_proxy_process_browsertest.cc (it's not a browser test so it doesn't
call ChromeMainDelegate::PreSandboxStartup(), which sets up the PathService
to know about the user-data-dir
- in_process_browser_test.cc, which needs to set up the user-data-dir directory
before PreSandboxStartup() is called
- diagnostics_model and diagnostics_controller, which are used in
BasicStartupComplete(), which is called before PreSandboxStartup() where the
PathService is set up
- shell_integration_win.cc which has a function that's used in unit tests, which
don't call PreSandboxStartup()
- chrome/browser/shell_integration.cc is used differently on linux than on other
platforms, and on the former a desktop app shortcut uses a different command line
that that of Chrome's
- cloud_print/service/*, since it seems to be its own thing, and have a separate
user_data_dir
BUG=464616
Committed: https://crrev.com/c527ac73268c6f603dfa6aa41ee9a0c3d79d5095
Cr-Commit-Position: refs/heads/master@{#322697}
Patch Set 1 : #
Total comments: 12
Patch Set 2 : undo some changes #
Messages
Total messages: 27 (17 generated)
|