Modify CookieMonster's constructors to pass in a NetLog*

This CL adds a NetLog* parameter to CookieMonster's constructors, so we can use
it to log NetLog events that are related to setting cookies.

This CL is split off from rdsmith@'s CL at
https://chromium-review.googlesource.com/c/chromium/src/+/925181

Left TODOs to hook up headless and iOS. I will upload followup CLs to address
those.

[email protected]
[email protected]

Bug: 801910
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;luci.chromium.try:linux_mojo;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ibd76217b45326e1763263cdda391d9d584c458bf
Reviewed-on: https://chromium-review.googlesource.com/1171113
Commit-Queue: Helen Li <[email protected]>
Reviewed-by: Helen Li <[email protected]>
Reviewed-by: Matt Menke <[email protected]>
Reviewed-by: Maks Orlovich <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Eugene But <[email protected]>
Reviewed-by: Tao Bai <[email protected]>
Reviewed-by: Jialiu Lin <[email protected]>
Cr-Commit-Position: refs/heads/master@{#582923}
25 files changed