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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service_browsertest.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/arc/arc_auth_service_browsertest.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc b/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc
index 2130e9475852f4acbe0f68b5d61f2ac976464947..cd11cb59f44c3a74f80a1fc56999954209a63aaa 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc
@@ -180,7 +180,7 @@ class ArcAuthServiceTest : public InProcessBrowserTest {
arc_enabled_pref->Init(prefs::kArcEnabled, profile()->GetPrefs());
ArcServiceManager::Get()->OnPrimaryUserProfilePrepared(
multi_user_util::GetAccountIdFromProfile(profile()),
- std::move(arc_enabled_pref));
+ std::move(arc_enabled_pref), profile()->GetPrefs());
ArcAuthService::Get()->OnPrimaryUserProfilePrepared(profile());
}

Powered by Google App Engine
This is Rietveld 408576698