summaryrefslogtreecommitdiffstats
path: root/net/dns
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-16 00:23:56 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-16 00:23:56 +0000
commit3b04d1f2b6efef7f6f1c9efb4b011645d5893490 (patch)
tree990296bc2daa39b653f544fc1f3659bea4595834 /net/dns
parent53e6eb13e0972462dd83108e3b264ee5069aeee2 (diff)
downloadchromium_src-3b04d1f2b6efef7f6f1c9efb4b011645d5893490.zip
chromium_src-3b04d1f2b6efef7f6f1c9efb4b011645d5893490.tar.gz
chromium_src-3b04d1f2b6efef7f6f1c9efb4b011645d5893490.tar.bz2
[Net] Log RequestPriority instances as strings instead of integers
This is to avoid confusion with whether higher numbers are higher priority. BUG=307757 R=rch@chromium.org Review URL: https://codereview.chromium.org/26297006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/dns')
-rw-r--r--net/dns/host_resolver_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dns/host_resolver_impl.cc b/net/dns/host_resolver_impl.cc
index e4098d0..57ab3d6 100644
--- a/net/dns/host_resolver_impl.cc
+++ b/net/dns/host_resolver_impl.cc
@@ -358,7 +358,7 @@ base::Value* NetLogJobAttachCallback(const NetLog::Source& source,
NetLog::LogLevel /* log_level */) {
base::DictionaryValue* dict = new base::DictionaryValue();
source.AddToEventParameters(dict);
- dict->SetInteger("priority", priority);
+ dict->SetString("priority", RequestPriorityToString(priority));
return dict;
}