Chromium Code Reviews| Index: chrome/browser/profiles/profile_impl.cc |
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
| index 2b1020dc73f7322b079fb6a355b3909dc8ca2441..2be55fd116e9e7d8d30b56da6fb73b8c5127690c 100644 |
| --- a/chrome/browser/profiles/profile_impl.cc |
| +++ b/chrome/browser/profiles/profile_impl.cc |
| @@ -471,7 +471,8 @@ void ProfileImpl::DoFinalInit(bool is_new_profile) { |
| // when extensions are loaded. BackgroundModeManager is not needed under |
| // ChromeOS because Chrome is always running, no need for special keep-alive |
| // or launch-on-startup support unless kKeepAliveForTest is set. |
| - bool init_background_mode_manager = true; |
| + bool init_background_mode_manager = |
| + !ProfileManager::IsImportProcess(*CommandLine::ForCurrentProcess()); |
|
gab
2013/03/07 19:54:22
While you're probably right this doesn't need to b
|
| #if defined(OS_CHROMEOS) |
| if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kKeepAliveForTest)) |
| init_background_mode_manager = false; |