| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
var iterator = mFeatures.entrySet().iterator();
while (iterator.hasNext()) {
var entry = iterator.next();
var key = entry.getKey();nit - replace `var`s here with specific types as it's hard to tell the types from variable names.
if (Objects.equals(activityWindowAndroid, key.mActivityWindowAndroid)) {nit - use `activityScopedObjectsToRemove` for consistency with Line 1279.
Also, just use `==` here? I think we do want to compare the references.
* The activity window the feature is associated with, or null if the feature is not associatednit - remove "window" from the javadoc; it could be confusing as (Activity != window) on Android.
```suggestion
* The activity the feature is associated with, or null if the feature is not associated
```
* @param activityWindowAndroid The activity window the feature is associated with, or null if```suggestion
* @param activityWindowAndroid The activity the feature is associated with, or null if
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
var iterator = mFeatures.entrySet().iterator();
while (iterator.hasNext()) {
var entry = iterator.next();
var key = entry.getKey();nit - replace `var`s here with specific types as it's hard to tell the types from variable names.
Done
if (Objects.equals(activityWindowAndroid, key.mActivityWindowAndroid)) {nit - use `activityScopedObjectsToRemove` for consistency with Line 1279.
Also, just use `==` here? I think we do want to compare the references.
use activityScopedObjectsToRemove for consistency with Line 1279
didn't quite follow here. which variable were you referring to?
* The activity window the feature is associated with, or null if the feature is not associatednit - remove "window" from the javadoc; it could be confusing as (Activity != window) on Android.
```suggestion
* The activity the feature is associated with, or null if the feature is not associated
```
Done
* @param activityWindowAndroid The activity window the feature is associated with, or null if```suggestion
* @param activityWindowAndroid The activity the feature is associated with, or null if
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
if (Objects.equals(activityWindowAndroid, key.mActivityWindowAndroid)) {Lijin Shennit - use `activityScopedObjectsToRemove` for consistency with Line 1279.
Also, just use `==` here? I think we do want to compare the references.
use activityScopedObjectsToRemove for consistency with Line 1279
didn't quite follow here. which variable were you referring to?
My bad. No change is needed here as we need an ActivityWindowAndroid.
| 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. |
| 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. |
[ChromeAndroidTask] Support activity-scoped features
This CL introduces support for features that are scoped to a specific
ChromeActivity (via ActivityWindowAndroid) within a ChromeAndroidTask.
- ChromeAndroidTaskFeatureKey: Added an optional ActivityWindowAndroid
field to allow differentiating features by activity.
- ChromeAndroidTaskImpl: Updated to destroy and remove features
associated with an ActivityWindowAndroid when that activity's scoped
objects are removed (e.g., during activity destruction).
| 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. |