commit | f09c410c53b4d4da4f49406110603088d03893ed | [log] [tgz] |
---|---|---|
author | Toni Barzic <tbarzic@chromium.org> | Fri Jul 20 19:45:52 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jul 20 19:45:52 2018 |
tree | c3e5a417440e338879b28f6785d803dfd82ddab3 | |
parent | 8118b4f9239d79c260dcf83637fb6ab4d16781bc [diff] |
Support setting mount points in fake image loader client Adds logic to register and load/unload components to fake image loader client, so it can be used to test code that depends on image loader client. Introduces SetMountPathForComponent that sets up mount points LoadComponent/LoadComponentAtPath return as component's mount point when called (if a mount point has not been set, the LoadComponent methods will fail). Implements logic to register/remove components - it keeps mapping from a registered component name to its version in memory. BUG=863162 Change-Id: Iffa3504fc92d495cc46a35caffd3acdd4b7038c8 Reviewed-on: https://chromium-review.googlesource.com/1145463 Commit-Queue: Toni Barzic <tbarzic@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org> Cr-Commit-Position: refs/heads/master@{#576956}
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 .