diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-27 23:20:45 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-27 23:20:45 +0000 |
commit | d13f51bc832e8e7965e92f5aa4b16b8c10c3f913 (patch) | |
tree | d5a1a413bf8716befbae7d056cd8c6194eed5a98 /chrome/browser/dom_ui | |
parent | f2286c23e17c0012d53800a5ef28975b6e22393a (diff) | |
download | chromium_src-d13f51bc832e8e7965e92f5aa4b16b8c10c3f913.zip chromium_src-d13f51bc832e8e7965e92f5aa4b16b8c10c3f913.tar.gz chromium_src-d13f51bc832e8e7965e92f5aa4b16b8c10c3f913.tar.bz2 |
Cleanup: Address some of the todos in net_log.h
- Get rid of the AddString() and AddStringLiteral() methods.
- Make EventParameters able to serialize to JSON, instead of a string.
BUG=37421
Review URL: http://codereview.chromium.org/1716007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/net_internals_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/net_internals_ui.cc b/chrome/browser/dom_ui/net_internals_ui.cc index 8a08cfb..f7bf423 100644 --- a/chrome/browser/dom_ui/net_internals_ui.cc +++ b/chrome/browser/dom_ui/net_internals_ui.cc @@ -78,7 +78,7 @@ Value* EntryToDictionaryValue(net::NetLog::EventType type, // Set the event-specific parameters. if (extra_parameters) - entry_dict->SetString(L"extra_parameters", extra_parameters->ToString()); + entry_dict->Set(L"extra_parameters", extra_parameters->ToValue()); return entry_dict; } |