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

Issue 1115033003: resources: Prevent including the same resource in multiple pack files. (Closed)

Created:
5 years, 7 months ago by sadrul
Modified:
5 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

resources: Prevent including the same resource in multiple pack files. Add code to cause failure at runtime if a resource-pack includes a resource that is already present in another resource-pack. BUG=471609 Committed: https://crrev.com/618bc16b18999137337aaed4ad87f99e8563093c Cr-Commit-Position: refs/heads/master@{#329646}

Patch Set 1 #

Patch Set 2 : test-fixup #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : fix-ios #

Patch Set 6 : fix-ios #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Total comments: 7

Patch Set 10 : . #

Patch Set 11 : . #

Total comments: 5

Patch Set 12 : . #

Patch Set 13 : tot-merge #

Patch Set 14 : fix-gn #

Total comments: 2

Patch Set 15 : . #

Patch Set 16 : . #

Patch Set 17 : . #

Patch Set 18 : . #

Patch Set 19 : . #

Patch Set 20 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -20 lines) Patch
M chrome/test/base/javascript_browser_test.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +1 line, -6 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +4 lines, -6 lines 0 comments Download
M components/components_unittests.isolate View 1 2 3 4 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M components/test/run_all_unittests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -2 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M ui/base/resource/data_pack.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ui/base/resource/data_pack.cc View 1 2 3 4 5 6 7 8 9 10 11 16 17 18 1 chunk +17 lines, -0 lines 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +3 lines, -0 lines 0 comments Download
M ui/base/ui_base_paths.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (10 generated)
sadrul
Hi. I reworked https://codereview.chromium.org/1056993003/ to make it a runtime check turned on all platforms (when ...
5 years, 7 months ago (2015-05-01 15:22:45 UTC) #2
Nico
I like the idea of this CL a lot. I'm a bit surprised about loading ...
5 years, 7 months ago (2015-05-02 00:50:48 UTC) #3
sadrul
On 2015/05/02 00:50:48, Nico wrote: > I like the idea of this CL a lot. ...
5 years, 7 months ago (2015-05-02 04:17:09 UTC) #4
sadrul
On 2015/05/02 00:50:48, Nico wrote: > ... I'm a bit surprised about loading the ui ...
5 years, 7 months ago (2015-05-05 02:38:13 UTC) #5
Nico
Thanks for explaining. Basically lgtm, but someone familiar with the keyboard code should look at ...
5 years, 7 months ago (2015-05-06 01:06:35 UTC) #6
sadrul
https://codereview.chromium.org/1115033003/diff/190001/tools/gritsettings/resource_ids File tools/gritsettings/resource_ids (right): https://codereview.chromium.org/1115033003/diff/190001/tools/gritsettings/resource_ids#newcode219 tools/gritsettings/resource_ids:219: "includes": [28120], On 2015/05/06 01:06:35, Nico wrote: > why ...
5 years, 7 months ago (2015-05-06 17:29:24 UTC) #7
sadrul
+blundell@: Please review changes in components/ [ I moved off the ash/keyboard changes in https://codereview.chromium.org/1130753004 ...
5 years, 7 months ago (2015-05-06 17:32:33 UTC) #9
Nico
https://codereview.chromium.org/1115033003/diff/190001/tools/gritsettings/resource_ids File tools/gritsettings/resource_ids (right): https://codereview.chromium.org/1115033003/diff/190001/tools/gritsettings/resource_ids#newcode219 tools/gritsettings/resource_ids:219: "includes": [28120], On 2015/05/06 17:29:24, sadrul wrote: > On ...
5 years, 7 months ago (2015-05-06 17:34:59 UTC) #10
Nico
5 years, 7 months ago (2015-05-06 17:35:00 UTC) #11
sadrul
On 2015/05/06 17:34:59, Nico wrote: > https://codereview.chromium.org/1115033003/diff/190001/tools/gritsettings/resource_ids > File tools/gritsettings/resource_ids (right): > > https://codereview.chromium.org/1115033003/diff/190001/tools/gritsettings/resource_ids#newcode219 > ...
5 years, 7 months ago (2015-05-06 18:28:25 UTC) #12
Lei Zhang
On 2015/05/06 17:34:59, Nico wrote: > I thought we had something that checks that grd ...
5 years, 7 months ago (2015-05-06 21:11:24 UTC) #13
blundell
https://codereview.chromium.org/1115033003/diff/250001/components/test/run_all_unittests.cc File components/test/run_all_unittests.cc (right): https://codereview.chromium.org/1115033003/diff/250001/components/test/run_all_unittests.cc#newcode65 components/test/run_all_unittests.cc:65: #if defined(OS_IOS) || defined(OS_ANDROID) Why is the loading of ...
5 years, 7 months ago (2015-05-07 08:25:43 UTC) #14
sadrul
https://codereview.chromium.org/1115033003/diff/250001/components/test/run_all_unittests.cc File components/test/run_all_unittests.cc (right): https://codereview.chromium.org/1115033003/diff/250001/components/test/run_all_unittests.cc#newcode65 components/test/run_all_unittests.cc:65: #if defined(OS_IOS) || defined(OS_ANDROID) On 2015/05/07 08:25:43, blundell wrote: ...
5 years, 7 months ago (2015-05-07 08:46:14 UTC) #15
sadrul
Finally figured the failures on ios and android: . In the case of android: the ...
5 years, 7 months ago (2015-05-07 22:26:35 UTC) #17
Nico
benm, can you look at the ui/base/ui_base_paths.cc change? rohitrao: Can you spot-check the component_tests.gyp change? ...
5 years, 7 months ago (2015-05-07 22:46:47 UTC) #19
rohitrao (ping after 24h)
components_tests.gyp LGTM. Adding the .pak to mac_bundle_resources should be enough to ensure that it gets ...
5 years, 7 months ago (2015-05-07 22:58:15 UTC) #20
blundell
//components lgtm Thanks!
5 years, 7 months ago (2015-05-11 07:37:28 UTC) #21
sadrul
On 2015/05/07 22:46:47, Nico wrote: > benm, can you look at the ui/base/ui_base_paths.cc change? benm@ ...
5 years, 7 months ago (2015-05-11 15:13:15 UTC) #23
Torne
Android pak directory change LGTM.
5 years, 7 months ago (2015-05-13 11:55:26 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1115033003/370001
5 years, 7 months ago (2015-05-13 12:49:37 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/17398)
5 years, 7 months ago (2015-05-13 13:27:02 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1115033003/390001
5 years, 7 months ago (2015-05-13 15:00:06 UTC) #32
commit-bot: I haz the power
Committed patchset #20 (id:390001)
5 years, 7 months ago (2015-05-13 16:10:06 UTC) #33
commit-bot: I haz the power
5 years, 7 months ago (2015-05-13 16:10:56 UTC) #34
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/618bc16b18999137337aaed4ad87f99e8563093c
Cr-Commit-Position: refs/heads/master@{#329646}

Powered by Google App Engine
This is Rietveld 408576698