commit | fe40bbc7fa3933ad3e3536307db41b306f709312 | [log] [tgz] |
---|---|---|
author | Michael Giuffrida <michaelpg@chromium.org> | Thu Nov 15 01:39:32 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 15 01:39:32 2018 |
tree | 37cd9018921b9c5a774ea6f4008bad51f8cefc25 | |
parent | 895bd797322a487584fe9f1b191847d26f4c32fd [diff] |
Move Demo Resources logic to new class Creates the DemoResources class, removing the nitty-gritty details of component loading from the global DemoSession instance. This will make it simpler to update the offline-enrolled mode to use the offline version of the Demo Mode Resources component. It will also allow us to check for the existence of Demo Mode resources without starting a a DemoSession, eg from OOBE. DemoResources avoids using the term "offline resources" except in the context of the preinstalled resources used in offline-enrolled Demo Mode. General Demo Mode resources will just be called "Demo Resources" or similar. A follow-up change will update calls to DemoSession::EnsureOfflineResourcesLoaded() to instead call a similar function on DemoResources. Bug: 904641 Change-Id: Ia931721511fac4efb9e796052bd760a87c952be9 Reviewed-on: https://chromium-review.googlesource.com/c/1333112 Commit-Queue: Michael Giuffrida <michaelpg@chromium.org> Reviewed-by: Alexander Alekseev <alemate@chromium.org> Reviewed-by: Wenzhao (Colin) Zang <wzang@chromium.org> Cr-Commit-Position: refs/heads/master@{#608213}
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 .