commit | feda02794921ad4eca0b4c5d15c21bc0461e73fa | [log] [tgz] |
---|---|---|
author | Nick Burris <nburris@google.com> | Thu Jul 12 20:11:35 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 12 20:11:35 2018 |
tree | c41abe73cd23b32194fa01577fc056eef9c97a16 | |
parent | 8a7df13b2932f8f83559de4c263c972e08f9301b [diff] |
Chrome Cleanup UI: Extract GetLastUsedProfile call from scanner results Chrome runs into a fatal error when the cleaner detects unwanted software. This is because ChromeCleanerScannerResults is created in the IO thread, and ProfileManager::GetLastUsedProfile requires the UI thread. The tests passed because they run a test browser process. - Extract extension name fetching to a separate function. - Call this function in tests so they're not affected. - Follow-up CL: Call this function once the scanner results are on the UI thread, before they're sent to the web UI. Bug: 853339 Change-Id: I9cc2425f7b196e923a22b2afd1e8eee7fca61f5b Reviewed-on: https://chromium-review.googlesource.com/1135194 Commit-Queue: Nick Burris <nburris@google.com> Reviewed-by: proberge <proberge@chromium.org> Cr-Commit-Position: refs/heads/master@{#574695}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .