Use generic base::Value::SetKey
Remove base::Value::SetDoubleWithoutPathExpansion https://chromium-review.googlesource.com/591654 Remove base::Value::SetStringWithoutPathExpansion https://chromium-review.googlesource.com/592368 Remove base::Value::SetIntegerWithoutPathExpansion https://chromium-review.googlesource.com/591655
This commit is contained in:
parent
8250dbd172
commit
75c17cf846
4 changed files with 9 additions and 11 deletions
|
@ -108,7 +108,7 @@ void ToDictionary(base::DictionaryValue* details,
|
|||
std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue);
|
||||
net::HttpRequestHeaders::Iterator it(headers);
|
||||
while (it.GetNext())
|
||||
dict->SetStringWithoutPathExpansion(it.name(), it.value());
|
||||
dict->SetKey(it.name(), base::Value(it.value()));
|
||||
details->Set("requestHeaders", std::move(dict));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue