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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_test.cc

Issue 2708923013: Split ArcSessionManager::OnPrimaryUserProfilePrepared(). (Closed)
Patch Set: rebase Created 3 years, 10 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/ui/app_list/arc/arc_app_test.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_test.cc b/chrome/browser/ui/app_list/arc/arc_app_test.cc
index f568ac0c1a46b8073deebc0e50ec2da666d7ce23..d2b90b3aefa6216f3903d879e10b12c5c7e2c19d 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_test.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_test.cc
@@ -86,7 +86,8 @@ void ArcAppTest::SetUp(Profile* profile) {
base::Bind(arc::FakeArcSession::Create)));
DCHECK(arc::ArcSessionManager::Get());
arc::ArcSessionManager::DisableUIForTesting();
- arc_session_manager_->OnPrimaryUserProfilePrepared(profile_);
+ arc_session_manager_->SetProfile(profile_);
+ arc_session_manager_->StartPreferenceHandler();
arc_app_list_pref_ = ArcAppListPrefs::Get(profile_);
DCHECK(arc_app_list_pref_);

Powered by Google App Engine
This is Rietveld 408576698