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

Unified Diff: remoting/host/setup/me2me_native_messaging_host.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/setup/me2me_native_messaging_host.cc
diff --git a/remoting/host/setup/me2me_native_messaging_host.cc b/remoting/host/setup/me2me_native_messaging_host.cc
index 1b054f22577bfdb6539cb0a5a8d7c66e19e68dd8..9c5a5793cb969fcb452cfaf7346b5018d9d9c76c 100644
--- a/remoting/host/setup/me2me_native_messaging_host.cc
+++ b/remoting/host/setup/me2me_native_messaging_host.cc
@@ -97,7 +97,7 @@ void Me2MeNativeMessagingHost::OnMessage(const std::string& message) {
std::unique_ptr<base::DictionaryValue> response(new base::DictionaryValue());
std::unique_ptr<base::Value> message_value = base::JSONReader::Read(message);
- if (!message_value->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!message_value->IsType(base::Value::Type::DICTIONARY)) {
OnError("Received a message that's not a dictionary.");
return;
}
« no previous file with comments | « remoting/host/policy_watcher_unittest.cc ('k') | remoting/host/setup/me2me_native_messaging_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698