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

Unified Diff: components/autofill/content/browser/wallet/wallet_client_unittest.cc

Issue 108603005: Update uses of Value in chromeos/, cloud_print/, components/, content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: components/autofill/content/browser/wallet/wallet_client_unittest.cc
diff --git a/components/autofill/content/browser/wallet/wallet_client_unittest.cc b/components/autofill/content/browser/wallet/wallet_client_unittest.cc
index 2d3aac4db958b3ac88dde4c66114ad2491c6724b..1ea7f032959e011dd04ef30566b829f1f6a44e62 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);

Powered by Google App Engine
This is Rietveld 408576698