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

Unified Diff: net/test/spawned_test_server/spawner_communicator.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 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
« no previous file with comments | « net/test/spawned_test_server/local_test_server.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/spawned_test_server/spawner_communicator.cc
diff --git a/net/test/spawned_test_server/spawner_communicator.cc b/net/test/spawned_test_server/spawner_communicator.cc
index 3a1566db4cfd4928b727e83711ece46de357dffb..0f294a3c004f6ba142615cc0112f59f10df59b4c 100644
--- a/net/test/spawned_test_server/spawner_communicator.cc
+++ b/net/test/spawned_test_server/spawner_communicator.cc
@@ -355,7 +355,7 @@ bool SpawnerCommunicator::StartServer(const std::string& arguments,
// Check whether the data returned from spawner server is JSON-formatted.
std::unique_ptr<base::Value> value =
base::JSONReader::Read(server_return_data);
- if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!value.get() || !value->IsType(base::Value::Type::DICTIONARY)) {
LOG(ERROR) << "Invalid server data: " << server_return_data.c_str();
return false;
}
« no previous file with comments | « net/test/spawned_test_server/local_test_server.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698