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

Unified Diff: chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.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/restore_after_crash_session_manager_delegate.cc
diff --git a/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc b/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc
index a3ae19f22987a780d665e7aab5e2eb7c746e0041..28908f8a5e9448cd766c3d0d333cf3b5252c0dda 100644
--- a/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc
+++ b/chrome/browser/chromeos/login/session/restore_after_crash_session_manager_delegate.cc
@@ -64,7 +64,7 @@ void RestoreAfterCrashSessionManagerDelegate::Start() {
arc_enabled_pref->Init(prefs::kArcEnabled, profile()->GetPrefs());
arc::ArcServiceManager::Get()->OnPrimaryUserProfilePrepared(
multi_user_util::GetAccountIdFromProfile(profile()),
- std::move(arc_enabled_pref));
+ std::move(arc_enabled_pref), profile()->GetPrefs());
DCHECK(arc::ArcAuthService::Get());
arc::ArcAuthService::Get()->OnPrimaryUserProfilePrepared(profile());
}

Powered by Google App Engine
This is Rietveld 408576698