|
|
Descriptionchrome: Include headless resources
To support the --headless flag, include resources needed by the headless
library in Chrome's resources.pak. The size of these resources is about
1.7 KiB.
This patch also makes the headless
library fall back to loading resources.pak if headless_lib.pak isn't
found. The reason is that the former is shipped with Chrome while the
latter is used in purely headless builds.
BUG=612904
Committed: https://crrev.com/c05be0bcf4d2e0c75e64e0fa244bf40907aa2095
Cr-Commit-Position: refs/heads/master@{#439112}
Patch Set 1 #Patch Set 2 : Simplify #Patch Set 3 : Linux-only for now #
Total comments: 2
Patch Set 4 : Add TODO #
Messages
Total messages: 35 (23 generated)
Description was changed from ========== chrome: Include headless resources To support the --headless flag, include resources needed by the headless library in Chrome's resources.pak. The size of these resources is about 1.7 KiB. This patch also makes the headless library fall back to loading resources.pak if headless_lib.pak isn't found. The reason is that the former is shipped with Chrome while the latter is used in purely headless builds. BUG=612904 ========== to ========== chrome: Include headless resources To support the --headless flag, include resources needed by the headless library in Chrome's resources.pak. The size of these resources is about 1.7 KiB. This patch also makes the headless library fall back to loading resources.pak if headless_lib.pak isn't found. The reason is that the former is shipped with Chrome while the latter is used in purely headless builds. BUG=612904 ==========
skyostil@chromium.org changed reviewers: + altimin@chromium.org, jochen@chromium.org
The CQ bit was checked by skyostil@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Adding reviewers: altimin@: headless/ jochen@: chrome/ Thanks!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clan...) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by skyostil@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_a...)
lgtm
The CQ bit was checked by skyostil@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2576413002/diff/40001/headless/lib/headless_c... File headless/lib/headless_content_main_delegate.cc (right): https://codereview.chromium.org/2576413002/diff/40001/headless/lib/headless_c... headless/lib/headless_content_main_delegate.cc:123: ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_file); AFAIK, InitSharedInstanceWithPakPath is debug-only. InitSharedInstanceWithLocale is the way to go, IIRC.
https://codereview.chromium.org/2576413002/diff/40001/headless/lib/headless_c... File headless/lib/headless_content_main_delegate.cc (right): https://codereview.chromium.org/2576413002/diff/40001/headless/lib/headless_c... headless/lib/headless_content_main_delegate.cc:123: ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_file); On 2016/12/15 18:43:23, altimin wrote: > AFAIK, InitSharedInstanceWithPakPath is debug-only. InitSharedInstanceWithLocale > is the way to go, IIRC. That's right. Do you mind if I do that as a follow-up since we're already using the *WithPak() variant?
lgtm
The CQ bit was checked by skyostil@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from jochen@chromium.org Link to the patchset: https://codereview.chromium.org/2576413002/#ps60001 (title: "Add TODO")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by skyostil@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by skyostil@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1481899013245350, "parent_rev": "7d2074e5780fc2288e032d35fbf3be921c945d9c", "commit_rev": "b6d7642ab0db23bf3e75eae98f0b5461263e0539"}
Message was sent while issue was closed.
Description was changed from ========== chrome: Include headless resources To support the --headless flag, include resources needed by the headless library in Chrome's resources.pak. The size of these resources is about 1.7 KiB. This patch also makes the headless library fall back to loading resources.pak if headless_lib.pak isn't found. The reason is that the former is shipped with Chrome while the latter is used in purely headless builds. BUG=612904 ========== to ========== chrome: Include headless resources To support the --headless flag, include resources needed by the headless library in Chrome's resources.pak. The size of these resources is about 1.7 KiB. This patch also makes the headless library fall back to loading resources.pak if headless_lib.pak isn't found. The reason is that the former is shipped with Chrome while the latter is used in purely headless builds. BUG=612904 Review-Url: https://codereview.chromium.org/2576413002 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== chrome: Include headless resources To support the --headless flag, include resources needed by the headless library in Chrome's resources.pak. The size of these resources is about 1.7 KiB. This patch also makes the headless library fall back to loading resources.pak if headless_lib.pak isn't found. The reason is that the former is shipped with Chrome while the latter is used in purely headless builds. BUG=612904 Review-Url: https://codereview.chromium.org/2576413002 ========== to ========== chrome: Include headless resources To support the --headless flag, include resources needed by the headless library in Chrome's resources.pak. The size of these resources is about 1.7 KiB. This patch also makes the headless library fall back to loading resources.pak if headless_lib.pak isn't found. The reason is that the former is shipped with Chrome while the latter is used in purely headless builds. BUG=612904 Committed: https://crrev.com/c05be0bcf4d2e0c75e64e0fa244bf40907aa2095 Cr-Commit-Position: refs/heads/master@{#439112} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/c05be0bcf4d2e0c75e64e0fa244bf40907aa2095 Cr-Commit-Position: refs/heads/master@{#439112} |