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

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

Issue 9911029: Refactored the CloudPolicyProvider so that it becomes initialized once and stays initialized. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updated expectations in failing browser_tests Created 8 years, 9 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/login/login_browsertest.cc
diff --git a/chrome/browser/chromeos/login/login_browsertest.cc b/chrome/browser/chromeos/login/login_browsertest.cc
index c4ee33d5eef533807282a0ffc44b516027344d51..f27c2fa8b5269b5df9aed876851283a6b0796649 100644
--- a/chrome/browser/chromeos/login/login_browsertest.cc
+++ b/chrome/browser/chromeos/login/login_browsertest.cc
@@ -34,6 +34,8 @@ class LoginTestBase : public CrosInProcessBrowserTest {
mock_cryptohome_library_ = cros_mock_->mock_cryptohome_library();
EXPECT_CALL(*mock_cryptohome_library_, IsMounted())
.WillRepeatedly(Return(true));
+ EXPECT_CALL(*mock_cryptohome_library_, InstallAttributesIsReady())
+ .WillRepeatedly(Return(false));
Mattias Nissler (ping if slow) 2012/03/30 08:48:46 and this? It seems like the more reasonable choice
Joao da Silva 2012/03/30 10:09:23 Same reason. Returning false is more straightforwa
Mattias Nissler (ping if slow) 2012/03/30 11:46:35 Hm. In that case, why do we enable the flags for a
}
MockCryptohomeLibrary* mock_cryptohome_library_;

Powered by Google App Engine
This is Rietveld 408576698