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

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

Issue 6821075: Chrome-side lockbox bindings (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: CL RC1. Created 9 years, 8 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/signed_settings_unittest.cc
diff --git a/chrome/browser/chromeos/login/signed_settings_unittest.cc b/chrome/browser/chromeos/login/signed_settings_unittest.cc
index 6570cac811ec3de0549af6a1fcb07c5b2500b8db..0468f96177232c53df29fdc14064db2dd3391915 100644
--- a/chrome/browser/chromeos/login/signed_settings_unittest.cc
+++ b/chrome/browser/chromeos/login/signed_settings_unittest.cc
@@ -160,7 +160,7 @@ class SignedSettingsTest : public ::testing::Test {
EXPECT_CALL(m_, StartSigningAttempt(to_sign, _))
.Times(1);
EXPECT_CALL(m_, GetStatus(_))
- .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN));
+ .WillOnce(Return(OwnershipService::OWNERSHIP_USER));
s->Execute();
s->OnKeyOpComplete(return_code, std::vector<uint8>());
@@ -178,7 +178,7 @@ class SignedSettingsTest : public ::testing::Test {
EXPECT_CALL(m_, StartVerifyAttempt(to_verify, _, _))
.Times(1);
EXPECT_CALL(m_, GetStatus(_))
- .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN));
+ .WillOnce(Return(OwnershipService::OWNERSHIP_USER));
s->Execute();
s->OnKeyOpComplete(return_code, std::vector<uint8>());
@@ -369,7 +369,7 @@ TEST_F(SignedSettingsTest, StoreProperty) {
EXPECT_CALL(m_, StartSigningAttempt(to_sign, _))
.Times(1);
EXPECT_CALL(m_, GetStatus(_))
- .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN));
+ .WillOnce(Return(OwnershipService::OWNERSHIP_USER));
s->Execute();
s->OnKeyOpComplete(OwnerManager::SUCCESS, std::vector<uint8>());
@@ -396,7 +396,7 @@ TEST_F(SignedSettingsTest, RetrieveProperty) {
EXPECT_CALL(m_, StartVerifyAttempt(to_verify, _, _))
.Times(1);
EXPECT_CALL(m_, GetStatus(_))
- .WillOnce(Return(OwnershipService::OWNERSHIP_TAKEN));
+ .WillOnce(Return(OwnershipService::OWNERSHIP_USER));
s->Execute();
s->OnKeyOpComplete(OwnerManager::SUCCESS, std::vector<uint8>());

Powered by Google App Engine
This is Rietveld 408576698