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

Unified Diff: remoting/host/plugin/policy_hack/nat_policy_linux.cc

Issue 7661009: base: Add Is* functions to Value class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tony review Created 9 years, 4 months 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/plugin/policy_hack/nat_policy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/plugin/policy_hack/nat_policy_linux.cc
diff --git a/remoting/host/plugin/policy_hack/nat_policy_linux.cc b/remoting/host/plugin/policy_hack/nat_policy_linux.cc
index 8255660626ff76760645caeea0bbeab4a1b57da5..cb53f9b1ee1423c1c030afae70553024b0884c61 100644
--- a/remoting/host/plugin/policy_hack/nat_policy_linux.cc
+++ b/remoting/host/plugin/policy_hack/nat_policy_linux.cc
@@ -181,7 +181,7 @@ class NatPolicyLinux : public NatPolicy {
<< config_file_iter->value() << ": " << error_msg;
continue;
}
- if (!value->IsType(Value::TYPE_DICTIONARY)) {
+ if (!value->IsDictionary()) {
LOG(WARNING) << "Expected JSON dictionary in configuration file "
<< config_file_iter->value();
continue;
« no previous file with comments | « remoting/host/plugin/policy_hack/nat_policy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698