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

Unified Diff: remoting/host/host_config.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
Index: remoting/host/host_config.cc
diff --git a/remoting/host/host_config.cc b/remoting/host/host_config.cc
index 95b66e283737c0d817cb4ef8978411e9bebfa5b9..db6ec9ab14fb74f5b64e28e8829b9bbe4612151c 100644
--- a/remoting/host/host_config.cc
+++ b/remoting/host/host_config.cc
@@ -17,7 +17,7 @@ std::unique_ptr<base::DictionaryValue> HostConfigFromJson(
const std::string& json) {
std::unique_ptr<base::Value> value =
base::JSONReader::Read(json, base::JSON_ALLOW_TRAILING_COMMAS);
- if (!value || !value->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!value || !value->IsType(base::Value::Type::DICTIONARY)) {
LOG(WARNING) << "Failed to parse host config from JSON";
return nullptr;
}
« no previous file with comments | « ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc ('k') | remoting/host/it2me/it2me_native_messaging_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698