-
proberge authored
In https://chromium-review.googlesource.com/c/chromium/src/+/957645, I accidentally introduced a crash (crbug/828814) which could occur if content verification was running as Chrome was shutting down. According to |KeyedServiceBaseFactory::AssertContextWasntDestroyed|, service getting (ExtensionRegistry is a service) should only be done on the main thread. This CL stores the data which was read from the extensionregistry (the extension's background scripts, page and content script file_paths) in the ContentVerifierIOData instead. Bug: 828814,809088 Change-Id: I7d2a326c5ea609f996bd0af2a6d490108a99e772 Reviewed-on: https://chromium-review.googlesource.com/996489 Commit-Queue: proberge <proberge@chromium.org> Reviewed-by:
Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#548286}
6d037d9d