| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
void Stop(State final_state);Seems a little weird that we are using State here. Why can't we have an enum of Stopped reasons? We might not necessarily want to each stopped reason into a sepecific state no?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
Seems a little weird that we are using State here. Why can't we have an enum of Stopped reasons? We might not necessarily want to each stopped reason into a sepecific state no?
I figured we could just re-use the states from the ActorTask::State enum since they're already being translated from glic::mojom::ActorTaskStopReasons in glic_actor_task_manager.
I'm fine with adding an intermediary stop reasons enum but i think eventually we will have to translate these back to ActorTask::State since that's whats getting passed via the event dispatcher to chrome ui atm.
Will not merge into 143This should likely go into M143, as we do have to write some additional histograms based on this.
void Stop(State final_state);Christine YingSeems a little weird that we are using State here. Why can't we have an enum of Stopped reasons? We might not necessarily want to each stopped reason into a sepecific state no?
I figured we could just re-use the states from the ActorTask::State enum since they're already being translated from glic::mojom::ActorTaskStopReasons in glic_actor_task_manager.
I'm fine with adding an intermediary stop reasons enum but i think eventually we will have to translate these back to ActorTask::State since that's whats getting passed via the event dispatcher to chrome ui atm.
I think kFailed makes sense as a state. But I think we should have an intermediate enum that matches the glic API for identifing the stopped reason. If we want to further clarify it we can always store the stopped reason on ActorTask and it could still be in the kFailed state.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Will not merge into 143This should likely go into M143, as we do have to write some additional histograms based on this.
Acknowledged
void Stop(State final_state);Christine YingSeems a little weird that we are using State here. Why can't we have an enum of Stopped reasons? We might not necessarily want to each stopped reason into a sepecific state no?
Dave TapuskaI figured we could just re-use the states from the ActorTask::State enum since they're already being translated from glic::mojom::ActorTaskStopReasons in glic_actor_task_manager.
I'm fine with adding an intermediary stop reasons enum but i think eventually we will have to translate these back to ActorTask::State since that's whats getting passed via the event dispatcher to chrome ui atm.
I think kFailed makes sense as a state. But I think we should have an intermediate enum that matches the glic API for identifing the stopped reason. If we want to further clarify it we can always store the stopped reason on ActorTask and it could still be in the kFailed state.
| 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. |
Bug: 453997100| 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. |
14 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: chrome/browser/ui/tabs/glic_actor_task_icon_manager_unittest.cc
Insertions: 12, Deletions: 4.
The diff is too large to show. Please review the diff.
```
Pipe Failed state to Actor Task
This will be rebase and submitted after
https://chromium-review.googlesource.com/c/chromium/src/+/7113019
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |