crostini: explicitly test lifetimes of controller/notification
The CrostiniExportImportNotificationController's lifetime is tied to the lifetime of the UI notification, not to the lifetime of the controller stored on the CrostiniExportImport object. This CL changes the existing tests to explicitly test these lifetimes. A following CL further decouples the lifetimes of the UI/controller/export_import object, and builds upon this CL for its testing. Bug: 1024693 Change-Id: I2fe6b906532dd49d1808afe88683bf573a393b0e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1991055Reviewed-by:David Munro <davidmunro@google.com> Commit-Queue: Julian Watson <juwa@google.com> Auto-Submit: Julian Watson <juwa@google.com> Cr-Commit-Position: refs/heads/master@{#729625}
Showing
This diff is collapsed.
Please register or sign in to comment