Index: chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc |
diff --git a/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc b/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc |
index 29bda417906ba8535cdd39c37a2f590c38aeee3d..31338257998cc7aa8e5c6aa8da148e437cb168ab 100644 |
--- a/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc |
+++ b/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc |
@@ -392,8 +392,8 @@ TEST_F(EPKChallengeMachineKeyTest, Success) { |
const base::Value* response; |
ASSERT_TRUE(value->GetAsBinary(&response)); |
- EXPECT_EQ("response", |
- std::string(response->GetBuffer(), response->GetSize())); |
+ EXPECT_EQ("response", std::string(response->GetBlob().data(), |
+ response->GetBlob().size())); |
} |
TEST_F(EPKChallengeMachineKeyTest, KeyRegisteredSuccess) { |
@@ -422,8 +422,8 @@ TEST_F(EPKChallengeMachineKeyTest, KeyRegisteredSuccess) { |
const base::Value* response; |
ASSERT_TRUE(value->GetAsBinary(&response)); |
- EXPECT_EQ("response", |
- std::string(response->GetBuffer(), response->GetSize())); |
+ EXPECT_EQ("response", std::string(response->GetBlob().data(), |
+ response->GetBlob().size())); |
} |
TEST_F(EPKChallengeMachineKeyTest, AttestationNotPrepared) { |
@@ -597,8 +597,8 @@ TEST_F(EPKChallengeUserKeyTest, Success) { |
const base::Value* response; |
ASSERT_TRUE(value->GetAsBinary(&response)); |
- EXPECT_EQ("response", |
- std::string(response->GetBuffer(), response->GetSize())); |
+ EXPECT_EQ("response", std::string(response->GetBlob().data(), |
+ response->GetBlob().size())); |
} |
TEST_F(EPKChallengeUserKeyTest, AttestationNotPrepared) { |