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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller_browsertest.cc

Issue 9286003: Remove AsyncSetOwnerUser() from cryptohome library (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Ready to go. Created 8 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
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
index 3da777f98b24ab22b310f277ded0c99069ebbb75..c4fabb1908d13256bdc09b82e5fca3ee58c83e69 100644
--- a/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc
@@ -194,7 +194,6 @@ IN_PROC_BROWSER_TEST_F(ExistingUserControllerTest, AutoEnrollAfterSignIn) {
EXPECT_CALL(*mock_login_display_host_,
StartWizard(WizardController::kEnterpriseEnrollmentScreenName, _))
.Times(1);
- EXPECT_CALL(*mock_cryptohome_library_, AsyncSetOwnerUser(_, _)).Times(0);
existing_user_controller()->DoAutoEnrollment();
existing_user_controller()->CompleteLogin(kUsername, kPassword);
}
@@ -206,7 +205,6 @@ IN_PROC_BROWSER_TEST_F(ExistingUserControllerTest, DontAutoEnrollAfterSignIn) {
EXPECT_CALL(*mock_login_display_host_,
StartWizard(WizardController::kUserImageScreenName, _))
.Times(1);
- EXPECT_CALL(*mock_cryptohome_library_, AsyncSetOwnerUser(_, _)).Times(1);
existing_user_controller()->CompleteLogin(kUsername, kPassword);
}
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698