Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Issue 2576413002: chrome: Include headless resources (Closed)

Created:
4 years ago by Sami
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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}

Patch Set 1 #

Patch Set 2 : Simplify #

Patch Set 3 : Linux-only for now #

Total comments: 2

Patch Set 4 : Add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M chrome/chrome_paks.gni View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M headless/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M headless/lib/headless_content_main_delegate.cc View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (23 generated)
Sami
Adding reviewers: altimin@: headless/ jochen@: chrome/ Thanks!
4 years ago (2016-12-15 14:55:01 UTC) #5
jochen (gone - plz use gerrit)
lgtm
4 years ago (2016-12-15 15:22:58 UTC) #12
altimin
https://codereview.chromium.org/2576413002/diff/40001/headless/lib/headless_content_main_delegate.cc File headless/lib/headless_content_main_delegate.cc (right): https://codereview.chromium.org/2576413002/diff/40001/headless/lib/headless_content_main_delegate.cc#newcode123 headless/lib/headless_content_main_delegate.cc:123: ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_file); AFAIK, InitSharedInstanceWithPakPath is debug-only. InitSharedInstanceWithLocale is the way ...
4 years ago (2016-12-15 18:43:23 UTC) #17
Sami
https://codereview.chromium.org/2576413002/diff/40001/headless/lib/headless_content_main_delegate.cc File headless/lib/headless_content_main_delegate.cc (right): https://codereview.chromium.org/2576413002/diff/40001/headless/lib/headless_content_main_delegate.cc#newcode123 headless/lib/headless_content_main_delegate.cc:123: ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_file); On 2016/12/15 18:43:23, altimin wrote: > AFAIK, InitSharedInstanceWithPakPath ...
4 years ago (2016-12-15 18:44:30 UTC) #18
altimin
lgtm
4 years ago (2016-12-15 18:47:25 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2576413002/60001
4 years ago (2016-12-15 18:50:07 UTC) #22
commit-bot: I haz the power
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_rel_ng/builds/357291)
4 years ago (2016-12-15 20:26:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2576413002/60001
4 years ago (2016-12-16 00:11:27 UTC) #26
commit-bot: I haz the power
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_rel_ng/builds/357639)
4 years ago (2016-12-16 06:03:14 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2576413002/60001
4 years ago (2016-12-16 14:37:07 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-16 15:36:46 UTC) #33
commit-bot: I haz the power
4 years ago (2016-12-16 15:40:13 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c05be0bcf4d2e0c75e64e0fa244bf40907aa2095
Cr-Commit-Position: refs/heads/master@{#439112}

Powered by Google App Engine
This is Rietveld 408576698