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

Unified Diff: remoting/host/setup/service_client.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 | « remoting/host/setup/me2me_native_messaging_host_unittest.cc ('k') | remoting/test/host_list_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/setup/service_client.cc
diff --git a/remoting/host/setup/service_client.cc b/remoting/host/setup/service_client.cc
index 7c107af50ce855c7cfc3ad4ee76fb78f4174fa26..a4961f81a6d57a9aad3978ffa5e26be47890008f 100644
--- a/remoting/host/setup/service_client.cc
+++ b/remoting/host/setup/service_client.cc
@@ -151,7 +151,7 @@ void ServiceClient::Core::HandleResponse(const net::URLFetcher* source) {
base::DictionaryValue *dict;
std::string code;
if (message_value.get() &&
- message_value->IsType(base::Value::TYPE_DICTIONARY) &&
+ message_value->IsType(base::Value::Type::DICTIONARY) &&
message_value->GetAsDictionary(&dict) &&
dict->GetString("data.authorizationCode", &code)) {
delegate_->OnHostRegistered(code);
« no previous file with comments | « remoting/host/setup/me2me_native_messaging_host_unittest.cc ('k') | remoting/test/host_list_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698