summaryrefslogtreecommitdiffstats
path: root/components/autofill/content/browser/wallet/wallet_client_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/autofill/content/browser/wallet/wallet_client_unittest.cc')
-rw-r--r--components/autofill/content/browser/wallet/wallet_client_unittest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/autofill/content/browser/wallet/wallet_client_unittest.cc b/components/autofill/content/browser/wallet/wallet_client_unittest.cc
index 2d3aac4..1ea7f03 100644
--- a/components/autofill/content/browser/wallet/wallet_client_unittest.cc
+++ b/components/autofill/content/browser/wallet/wallet_client_unittest.cc
@@ -842,14 +842,15 @@ class WalletClientTest : public testing::Test {
private:
std::string GetData(const std::string& upload_data) {
- scoped_ptr<Value> root(base::JSONReader::Read(upload_data));
+ scoped_ptr<base::Value> root(base::JSONReader::Read(upload_data));
// If this is not a JSON dictionary, return plain text.
- if (!root || !root->IsType(Value::TYPE_DICTIONARY))
+ if (!root || !root->IsType(base::Value::TYPE_DICTIONARY))
return upload_data;
// Remove api_key entry (to prevent accidental leak), return JSON as text.
- DictionaryValue* dict = static_cast<DictionaryValue*>(root.get());
+ base::DictionaryValue* dict =
+ static_cast<base::DictionaryValue*>(root.get());
dict->Remove("api_key", NULL);
std::string clean_upload_data;
base::JSONWriter::Write(dict, &clean_upload_data);