Index: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc |
diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc |
index 232618e0e9286e877c19a036b43699c9cef0a3b3..b4b40a72b47cb4275a8799c3bb0576e63d175404 100644 |
--- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc |
+++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc |
@@ -169,8 +169,8 @@ class EasyUnlockPrivateApiTest : public extensions::ExtensionApiUnittest { |
return ""; |
} |
- return std::string(result_binary_value->GetBuffer(), |
- result_binary_value->GetSize()); |
+ return std::string(result_binary_value->GetBlob().data(), |
+ result_binary_value->GetBlob().size()); |
} |
chromeos::EasyUnlockClient* client_; |
@@ -200,8 +200,8 @@ TEST_F(EasyUnlockPrivateApiTest, GenerateEcP256KeyPair) { |
ASSERT_TRUE(private_key); |
EXPECT_TRUE(chromeos::FakeEasyUnlockClient::IsEcP256KeyPair( |
- std::string(private_key->GetBuffer(), private_key->GetSize()), |
- std::string(public_key->GetBuffer(), public_key->GetSize()))); |
+ std::string(private_key->GetBlob().data(), private_key->GetBlob().size()), |
+ std::string(public_key->GetBlob().data(), public_key->GetBlob().size()))); |
} |
TEST_F(EasyUnlockPrivateApiTest, PerformECDHKeyAgreement) { |