Migrate from `BrowserContext` to `Profile`.
Previously the `HoldingSpaceKeyedService` was constructed with a `BrowserContext` and internally converted to `Profile` as needed. Now, we'll take a `Profile` at construction time and avoid any downstream conversions. This CL also addresses a race condition that could occur when partitioning `HoldingSpaceItems` by existence. Previously, input order was not guaranteed to match output order. Now they will which should stabilize browsertests. Bug: 1119496 Change-Id: I8e213eeed8f4b4169bc033130fcdebf473c1fd73 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386383 Commit-Queue: David Black <dmblack@google.com> Reviewed-by:Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#803367}
Showing
Please register or sign in to comment