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

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

Issue 8761016: Shaving parallel authenticator yak to remove unnecessary dependency on this class from OAuth spec... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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/login_utils.cc ('k') | chrome/browser/chromeos/login/mock_authenticator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_utils_browsertest.cc
===================================================================
--- chrome/browser/chromeos/login/login_utils_browsertest.cc (revision 112673)
+++ chrome/browser/chromeos/login/login_utils_browsertest.cc (working copy)
@@ -234,14 +234,8 @@
MockSessionManagerClient* session_managed_client =
dbus_thread_manager_.mock_session_manager_client();
EXPECT_CALL(*session_managed_client, StartSession(_));
-
- // crypto::Encryptor::SetCounter wants exactly 128 bits, and
- // ParallelAuthenticator CHECKs on that.
- CryptohomeBlob blob;
- for (size_t i = 0; i < 16; ++i)
- blob.push_back(i);
EXPECT_CALL(*cryptohome_, GetSystemSalt())
- .WillRepeatedly(Return(blob));
+ .WillRepeatedly(Return(std::string("stub_system_salt")));
EXPECT_CALL(*cryptohome_, AsyncMount(_, _, _, _))
.WillRepeatedly(Return(true));
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/mock_authenticator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698