diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-19 21:47:55 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-19 21:47:55 +0000 |
commit | 68697a4cc8372d40c9b0a75e7bd7ec2654f7f316 (patch) | |
tree | be485ac95fa4e62f558d6ae77c07ab07ba5b09ba /net/base/net_log.cc | |
parent | f24f4b5e5d0a1e6dc1b4eeceb129285893c9d509 (diff) | |
download | chromium_src-68697a4cc8372d40c9b0a75e7bd7ec2654f7f316.zip chromium_src-68697a4cc8372d40c9b0a75e7bd7ec2654f7f316.tar.gz chromium_src-68697a4cc8372d40c9b0a75e7bd7ec2654f7f316.tar.bz2 |
In net-internals, have HTTP_STREAM_JOBs link to the
URL_REQUEST they were attached to. With source_dependencies
now being clickable, this makes navigation between
URLRequests on the same socket a little easier.
BUG=107000
Review URL: http://codereview.chromium.org/8930014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115022 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_log.cc')
-rw-r--r-- | net/base/net_log.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/net_log.cc b/net/base/net_log.cc index 259786ef..9460f74 100644 --- a/net/base/net_log.cc +++ b/net/base/net_log.cc @@ -271,8 +271,8 @@ Value* NetLogStringParameter::ToValue() const { Value* NetLogSourceParameter::ToValue() const { DictionaryValue* dict = new DictionaryValue(); - - dict->Set(name_, value_.ToValue()); + if (value_.is_valid()) + dict->Set(name_, value_.ToValue()); return dict; } |