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

Unified Diff: remoting/test/remote_host_info_fetcher.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/test/remote_host_info_fetcher.cc
diff --git a/remoting/test/remote_host_info_fetcher.cc b/remoting/test/remote_host_info_fetcher.cc
index 30ba6fa4232a1bde875345323769c309d17b392c..c7a0bc4706cbd0d2e0cb0508445781fc6c7099e3 100644
--- a/remoting/test/remote_host_info_fetcher.cc
+++ b/remoting/test/remote_host_info_fetcher.cc
@@ -90,7 +90,7 @@ void RemoteHostInfoFetcher::OnURLFetchComplete(const net::URLFetcher* source) {
std::unique_ptr<base::Value> response_value(
base::JSONReader::Read(response_string));
if (!response_value ||
- !response_value->IsType(base::Value::TYPE_DICTIONARY)) {
+ !response_value->IsType(base::Value::Type::DICTIONARY)) {
LOG(ERROR) << "Failed to parse response string to JSON";
base::ResetAndReturn(&remote_host_info_callback_).Run(remote_host_info);
return;
« no previous file with comments | « remoting/test/host_list_fetcher.cc ('k') | services/preferences/public/cpp/tests/pref_observer_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698