Attention is currently required from: Adam Psarouthakis, Anunoy Ghosh, Zack Han.
Richard Chen would like Adam Psarouthakis, Anunoy Ghosh and Zack Han to review this change.
CRX Telemetry - Cookies APIs signal fixes.
- Report getAll() secure/is_session boolean fields correctly when empty.
- Add comma separators when creating unique args id to ensure uniqueness between argument sets.
Bug:1428680
Change-Id: Id817f1ca65772c08b57662436202bae0830c435e
---
M chrome/browser/extensions/api/cookies/cookies_api.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal.h
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_processor.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_processor_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_signal.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_signal_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_service_browsertest.cc
9 files changed, 62 insertions(+), 32 deletions(-)
To view, visit change 4381471. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Adam Psarouthakis, Anunoy Ghosh, Zack Han.
Attention is currently required from: Adam Psarouthakis, Richard Chen, Zack Han.
2 comments:
Commit Message:
Patch Set #4, Line 10: Add comma separators when creating unique args id to ensure uniqueness between argument sets
Why do we need the comma separators? Is that for the empty args list case to avoid an empty key for the args store?
Patchset:
Thanks Richard! Just one question - see comments.
To view, visit change 4381471. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Adam Psarouthakis, Anunoy Ghosh, Zack Han.
1 comment:
Commit Message:
Patch Set #4, Line 10: Add comma separators when creating unique args id to ensure uniqueness between argument sets
Why do we need the comma separators? Is that for the empty args list case to avoid an empty key for […]
Adding comma separators is to ensure the uniqueness of each argument set. Previously, it's possible for 2 different argument sets to have the same argument id. Then, whichever argument set appears first would be recorded, and the other argument would just increment the counter instead of reported as its own individual argument set.
For example, the following argument sets would return the same unique id.
If no other fields are populated, the unique id for both would be "googletrue". Adding the comma separators keep track of which value appeared in which field position.
To view, visit change 4381471. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Adam Psarouthakis, Richard Chen, Zack Han.
Patch set 4:Code-Review +1
1 comment:
Commit Message:
Patch Set #4, Line 10: Add comma separators when creating unique args id to ensure uniqueness between argument sets
Adding comma separators is to ensure the uniqueness of each argument set. […]
Makes sense. Thanks for the explanation!
To view, visit change 4381471. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Adam Psarouthakis, David Bertoni, Zack Han.
Richard Chen would like David Bertoni to review this change.
CRX Telemetry - Cookies APIs signal fixes.
- Report getAll() secure/is_session boolean fields correctly when empty.
- Add comma separators when creating unique args id to ensure uniqueness between argument sets.
Bug:1428680
Change-Id: Id817f1ca65772c08b57662436202bae0830c435e
---
M chrome/browser/extensions/api/cookies/cookies_api.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal.h
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_processor.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_processor_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_signal.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_signal_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_service_browsertest.cc
9 files changed, 62 insertions(+), 32 deletions(-)
To view, visit change 4381471. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Adam Psarouthakis, Richard Chen, Zack Han.
Patch set 4:Code-Review +1
1 comment:
Patchset:
lgtm, thanks!
To view, visit change 4381471. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Adam Psarouthakis, Richard Chen, Zack Han.
Patch set 4:Commit-Queue +2
Chromium LUCI CQ submitted this change.
CRX Telemetry - Cookies APIs signal fixes.
- Report getAll() secure/is_session boolean fields correctly when empty.
- Add comma separators when creating unique args id to ensure uniqueness between argument sets.
Bug: 1428680
Change-Id: Id817f1ca65772c08b57662436202bae0830c435e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4381471
Reviewed-by: Anunoy Ghosh <anu...@chromium.org>
Reviewed-by: David Bertoni <dber...@chromium.org>
Commit-Queue: Richard Chen <ric...@google.com>
Cr-Commit-Position: refs/heads/main@{#1124362}
---
M chrome/browser/extensions/api/cookies/cookies_api.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal.h
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_processor.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_processor_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_all_signal_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_signal.cc
M chrome/browser/safe_browsing/extension_telemetry/cookies_get_signal_unittest.cc
M chrome/browser/safe_browsing/extension_telemetry/extension_telemetry_service_browsertest.cc
9 files changed, 62 insertions(+), 32 deletions(-)