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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc

Issue 2485233002: Do not run Android management check for re-auth case. (Closed)
Patch Set: 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
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
index 6282902163d5a50e207633f276c25a1a0b5c2eea..6694071186475761b1b07d4d4a005cdb907a4664 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc
@@ -3595,7 +3595,7 @@ TEST_F(ChromeLauncherControllerImplWithArcTest, ArcManaged) {
profile()->GetTestingPrefService()->SetManagedPref(
prefs::kArcEnabled, new base::FundamentalValue(true));
base::RunLoop().RunUntilIdle();
- ValidateArcState(true, true, arc::ArcAuthService::State::FETCHING_CODE,
+ ValidateArcState(true, true, arc::ArcAuthService::State::TERMS,
Mr4D (OOO till 08-26) 2016/11/10 16:12:31 Could you add a comment here towards why there is
hidehiko 2016/11/14 10:55:09 Done.
"AppList, Chrome, Play Store");
// Arc is managed and disabled, Play Store pin should not be available.
@@ -3613,7 +3613,7 @@ TEST_F(ChromeLauncherControllerImplWithArcTest, ArcManaged) {
// Arc is not managed and enabled, Play Store pin should be available.
EnableArc(true);
- ValidateArcState(true, false, arc::ArcAuthService::State::FETCHING_CODE,
+ ValidateArcState(true, false, arc::ArcAuthService::State::TERMS,
"AppList, Chrome, Play Store");
// User disables Arc. Arc is not managed and disabled, Play Store pin should
@@ -3624,7 +3624,7 @@ TEST_F(ChromeLauncherControllerImplWithArcTest, ArcManaged) {
// Even if re-enable it again, Play Store pin does not appear automatically.
EnableArc(true);
- ValidateArcState(true, false, arc::ArcAuthService::State::FETCHING_CODE,
+ ValidateArcState(true, false, arc::ArcAuthService::State::TERMS,
"AppList, Chrome");
}

Powered by Google App Engine
This is Rietveld 408576698