commit | 25a9390dce3a08a787c852a3d381322767dace3c | [log] [tgz] |
---|---|---|
author | mgiuca <mgiuca@chromium.org> | Thu May 11 02:59:27 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu May 11 02:59:27 2017 |
tree | 45ca15c881aa4f69a8568262a7586df2964786ca | |
parent | 1b2f92e7444305d3132176edc5709b0805c9847a [diff] |
InstalledAppProviderImpl: Assert that code is run off the UI thread. Adds methods to ThreadUtils to support this: a new assertOnBackgroundThread to complement assertOnUiThread, as well as a way to disable these checks for testing (since the tests are single-threaded). BUG=710745 Review-Url: https://codereview.chromium.org/2810373002 Cr-Commit-Position: refs/heads/master@{#470786}