Chromium Code Reviews| Index: chrome/browser/chromeos/login/session/chrome_session_manager.cc |
| diff --git a/chrome/browser/chromeos/login/session/chrome_session_manager.cc b/chrome/browser/chromeos/login/session/chrome_session_manager.cc |
| index 66cef620218c97466e3c2f964879f17e4b1d9ad9..eb9e8326f336d6b094d84da0c8e54119ddbf3acd 100644 |
| --- a/chrome/browser/chromeos/login/session/chrome_session_manager.cc |
| +++ b/chrome/browser/chromeos/login/session/chrome_session_manager.cc |
| @@ -33,7 +33,6 @@ |
| #include "chromeos/cryptohome/cryptohome_parameters.h" |
| #include "chromeos/dbus/dbus_thread_manager.h" |
| #include "chromeos/dbus/session_manager_client.h" |
| -#include "components/arc/arc_bridge_service.h" |
| #include "components/prefs/pref_service.h" |
| #include "components/signin/core/account_id/account_id.h" |
| #include "components/signin/core/browser/signin_manager.h" |
| @@ -106,11 +105,7 @@ void StartRestoreAfterCrashSession(Profile* user_profile, |
| user_session_mgr->InitializeCRLSetFetcher(user); |
| user_session_mgr->InitializeCertificateTransparencyComponents(user); |
| - if (arc::ArcBridgeService::GetEnabled( |
| - base::CommandLine::ForCurrentProcess())) { |
| - arc::ArcServiceLauncher::Get()->OnPrimaryUserProfilePrepared( |
| - user_profile); |
| - } |
| + arc::ArcServiceLauncher::Get()->OnPrimaryUserProfilePrepared(user_profile); |
|
hidehiko
2017/01/24 10:57:36
Note: because ArcServiceLauncher instance is alway
Luis Héctor Chávez
2017/01/24 17:00:37
Please note this in a comment.
Also, I believe th
hidehiko
2017/01/24 18:05:56
I prefer the consistency, here.
ArcService instanc
Luis Héctor Chávez
2017/01/26 17:48:26
I still believe we should try to avoid even instan
hidehiko
2017/01/30 13:15:18
Thanks. I created a tracking bug. crbug.com/686703
|
| // Send the PROFILE_PREPARED notification and call SessionStarted() |
| // so that the Launcher and other Profile dependent classes are created. |