Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 2145813002: Clear old ARC instance before opt-in. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index 4a7f9fccd00462e7c0bee7f2cf7dc2791cb44198..64ac9327679e83a455b347646b9ac5bd4afaa6d0 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -1166,7 +1166,7 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) {
arc_enabled_pref->Init(prefs::kArcEnabled, profile->GetPrefs());
DCHECK(arc::ArcServiceManager::Get());
arc::ArcServiceManager::Get()->OnPrimaryUserProfilePrepared(
- account_id, std::move(arc_enabled_pref));
+ account_id, std::move(arc_enabled_pref), profile->GetPrefs());
arc::ArcAuthService* arc_auth_service = arc::ArcAuthService::Get();
DCHECK(arc_auth_service);
arc_auth_service->OnPrimaryUserProfilePrepared(profile);

Powered by Google App Engine
This is Rietveld 408576698