Chromium Code Reviews| Index: chrome/app/chrome_main_delegate.cc |
| diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
| index 1d79c25c85aa9fd031bbc2c6e1815775e41e3cd0..5b9952c2e7712674137901a1d0903ea99dc0cb94 100644 |
| --- a/chrome/app/chrome_main_delegate.cc |
| +++ b/chrome/app/chrome_main_delegate.cc |
| @@ -25,6 +25,7 @@ |
| #include "chrome/common/crash_keys.h" |
| #include "chrome/common/logging_chrome.h" |
| #include "chrome/common/profiling.h" |
| +#include "chrome/common/switch_utils.h" |
| #include "chrome/common/url_constants.h" |
| #include "chrome/plugin/chrome_content_plugin_client.h" |
| #include "chrome/renderer/chrome_content_renderer_client.h" |
| @@ -578,6 +579,9 @@ void ChromeMainDelegate::PreSandboxStartup() { |
| child_process_logging::Init(); |
| #endif |
| + // Initialize chrome::DIR_USER_DATA early on for service processes, etc. |
| + switches::InitializeUserDataDir(); |
|
Vitaly Buka (NO REVIEWS)
2014/02/21 23:11:33
Maybe note about logging too?
msw
2014/02/21 23:38:30
Done.
|
| + |
| stats_counter_timer_.reset(new base::StatsCounterTimer("Chrome.Init")); |
| startup_timer_.reset(new base::StatsScope<base::StatsCounterTimer> |
| (*stats_counter_timer_)); |