Commit-Queue | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
+avi
+sdefresne
for OWNERS of call sites
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. |
Code-Review | +1 |
lgtm
Bug: b/315411418
I think `Bug: 315411418` should work.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Bug: b/315411418
I think `Bug: 315411418` should work.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
// this function. Once that is the case, the above function will be restricted
// to call sites that are approved to use it.
Optional nit: I could see this part of the comment becoming stale by accident. Instead of adding this comment above ForceVariationIdsForTesting(), I would maybe add a TODO above ForceVariationIds() about restricting its callers.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
// this function. Once that is the case, the above function will be restricted
// to call sites that are approved to use it.
Optional nit: I could see this part of the comment becoming stale by accident. Instead of adding this comment above ForceVariationIdsForTesting(), I would maybe add a TODO above ForceVariationIds() about restricting its callers.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
8 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: components/variations/variations_ids_provider.h
Insertions: 1, Deletions: 0.
@@ -153,6 +153,7 @@
INVALID_SWITCH_ENTRY, // Invalid entry in `command_line_variation_ids`.
};
+ // TODO: b/315411418 - Restrict access to approved call sites.
// Sets *additional* variation ids and trigger variation ids to be encoded in
// the X-Client-Data request header. This is intended for development use to
// force a server side experiment id. `variation_ids` should be a list of
```
Introduce and use `ForceVariationIdsForTesting`.
This change introduces `ForceVariationIdsForTesting` as a test-only
alias for forcing Google Variation IDs. All test-related calls to
`ForceVariationIds` are migrated to use this new function. This helps
in distinguishing between test and production usages of this API.
In the future, we want to lock down the production API to be callable
only from specific call sites.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |