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

Unified Diff: chromeos/network/network_connection_handler_unittest.cc

Issue 1328233002: Ramove use of JSONReader::DeprecatedRead from chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ignore_result's Created 5 years, 3 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: chromeos/network/network_connection_handler_unittest.cc
diff --git a/chromeos/network/network_connection_handler_unittest.cc b/chromeos/network/network_connection_handler_unittest.cc
index c36cb1e16ad6011fa33df93909929f05cc530272..f4d2b15448406d12bd1fa898b92def29e1c7bac8 100644
--- a/chromeos/network/network_connection_handler_unittest.cc
+++ b/chromeos/network/network_connection_handler_unittest.cc
@@ -274,10 +274,10 @@ class NetworkConnectionHandlerTest : public testing::Test {
const base::DictionaryValue& global_config,
bool user_policy) {
std::string error;
- scoped_ptr<base::Value> network_configs_value(
- base::JSONReader::DeprecatedReadAndReturnError(
- network_configs_json, base::JSON_ALLOW_TRAILING_COMMAS, nullptr,
- &error));
+ scoped_ptr<base::Value> network_configs_value =
+ base::JSONReader::ReadAndReturnError(network_configs_json,
+ base::JSON_ALLOW_TRAILING_COMMAS,
+ nullptr, &error);
ASSERT_TRUE(network_configs_value) << error;
base::ListValue* network_configs = nullptr;
« no previous file with comments | « chromeos/network/client_cert_resolver_unittest.cc ('k') | chromeos/network/onc/onc_translator_shill_to_onc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698