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

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

Issue 2507073002: Split ArcSessionManager from ArcAuthService. (Closed)
Patch Set: Fix rebase mistake Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_test.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_unittest.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
index 75744d5ce51a3d398af10283682eb9f339ed037a..78386c02d4b9c2b7e2e793fca95d8dea4e8331cf 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
@@ -941,14 +941,14 @@ TEST_F(ArcPlayStoreAppTest, PlayStore) {
ASSERT_TRUE(app_info);
EXPECT_TRUE(app_info->ready);
- arc_test()->arc_auth_service()->DisableArc();
+ arc_test()->arc_session_manager()->DisableArc();
app_info = prefs->GetApp(arc::kPlayStoreAppId);
ASSERT_TRUE(app_info);
EXPECT_FALSE(app_info->ready);
arc::LaunchApp(profile(), arc::kPlayStoreAppId);
- EXPECT_TRUE(arc_test()->arc_auth_service()->IsArcEnabled());
+ EXPECT_TRUE(arc_test()->arc_session_manager()->IsArcEnabled());
}
// TODO(crbug.com/628425) -- reenable once this test is less flaky.
@@ -1138,7 +1138,7 @@ TEST_F(ArcDefaulAppTest, DefaultApps) {
ValidateHaveApps(all_apps);
// OptOut and default apps should exist minus first.
- arc_test()->arc_auth_service()->DisableArc();
+ arc_test()->arc_session_manager()->DisableArc();
all_apps = fake_default_apps();
all_apps.erase(all_apps.begin());
ValidateHaveApps(all_apps);
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_app_test.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698