| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
consent_auditor::ConsentAuditor::SessionId session_id;Default to `ConsentAuditor::GenerateSessionId()`?
entity_instance, consent_auditor::ConsentAuditor::GenerateSessionId(),`session_id`?
EXPECT_CALL(consent_auditor(), RecordWalletPrivatePassConsent);We could update the mock expectations to capture the session_id returned by `RecordWalletPrivatePassConsent` and verify that the exact same ID is passed into `SaveWalletEntityInstance`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Default to `ConsentAuditor::GenerateSessionId()`?
On a second thought, it makes sense to use the placeholder value when `kWalletApiPrivatePassesConsent` is disabled. I assume we don't log the consent in that case.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
consent_auditor::ConsentAuditor::SessionId session_id;Default to `ConsentAuditor::GenerateSessionId()`?
Exactly, it doesn't matter. The current implementation just constructs an invalid ID - but since it's never read when kWalletApiPrivatePassesConsent is disabled, that's ok.
entity_instance, consent_auditor::ConsentAuditor::GenerateSessionId(),Florian Leimgruber`session_id`?
Thanks, done 🤦♂️
EXPECT_CALL(consent_auditor(), RecordWalletPrivatePassConsent);We could update the mock expectations to capture the session_id returned by `RecordWalletPrivatePassConsent` and verify that the exact same ID is passed into `SaveWalletEntityInstance`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
Hi Viktor, could you PTAL at the comment changes in chrome/browser/resources/settings/autofill_page/*?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ping
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Log Wallet private pass consent from settings
See the description of crrev.com/c/7698856 for some general context
around consent logging for Wallet private passes.
This CL implements logging the consent for newly created Wallet private
passes from settings, by calling RecordWalletPrivatePassConsent() with
hardcoded string IDs of the save dialog before calling the Wallet API.
See crrev.com/c/7706320 as for why the string IDs need to be hardcoded.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |