commit | eebdbbc93197e9370bf3b201d002e2025ab72f4d | [log] [tgz] |
---|---|---|
author | Nigel Tao <nigeltao@chromium.org> | Thu Dec 13 03:11:39 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 13 03:11:39 2018 |
tree | c526812e64558e0a61c560213f3d63ee88cf1aeb | |
parent | 39dc9694e6f8adc9d5bfbb38f5192a642f6109f4 [diff] |
Make LoadIconFromExtension check Chrome-OS-ness The icon loading helper functions, prior to both this CL and http://crrev.com/c/1373450, called app_list image processing functions unconditionally, which broke the build, as app_list is Chrome OS only. The quick fix was to build app_icon_factory.cc conditionally, only for Chrome OS. This was http://crrev.com/c/1373450 This fix is to make more of app_icon_factory.cc conditional on #ifdef OS_CHROMEOS. The App Service isn't necessarily Chrome OS only. A longer term possibility is to move the app_list image processing function out of //chrome/browser/ui/app_list per se, and build it unconditionally. This would be a user-visible change (in that extension icons on desktop Chrome might look different), but arguably a change that improves consistency. In any case, doing that is out of scope of this CL. In the initial stage, the App Service aims to be a user-invisible refactoring. BUG=826982 Change-Id: Ic4fd3db27789117bb57e72e6b557b3e56b28fb7f Reviewed-on: https://chromium-review.googlesource.com/c/1374889 Commit-Queue: Nigel Tao <nigeltao@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#616190}
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 .