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

Issue 457103003: Merge ResourceBundle's InitSharedInstanceLocaleOnly with InitSharedInstanceWithLocale(). (Closed)

Created:
6 years, 4 months ago by tfarina
Modified:
6 years, 4 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, sadrul, chromoting-reviews_chromium.org, tfarina, jam, dcheng, darin-cc_chromium.org, kalyank, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, ben+ash_chromium.org, oshima
Project:
chromium
Visibility:
Public.

Description

Merge ResourceBundle's InitSharedInstanceLocaleOnly with InitSharedInstanceWithLocale(). Both methods do almost the same and just difer on whether or not to load the common resources (aka chrome pak files!). BUG=340082 TEST=None R=tony@chromium.org,lambroslambrou@chromium.org TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289435

Patch Set 1 #

Total comments: 2

Patch Set 2 : enum #

Patch Set 3 : fix #

Total comments: 4

Patch Set 4 : fix ui_unittests #

Patch Set 5 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -38 lines) Patch
M android_webview/browser/aw_browser_main_parts.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M apps/app_shim/chrome_main_app_mode_mac.mm View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/drag_drop/drag_drop_interactive_uitest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/shell/content_client/shell_main_delegate.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/shell/shell_main_parts.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/test/test_suite.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/ash_native_cursor_manager_interactive_uitest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_main_mac.mm View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/service/service_process.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/base/chrome_unit_test_suite.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/test/run_all_unittests.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/render_view_test.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/base/resources_linux.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M remoting/base/resources_mac.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/base/resource/resource_bundle.h View 1 2 3 2 chunks +9 lines, -6 lines 0 comments Download
M ui/base/resource/resource_bundle.cc View 1 2 3 1 chunk +5 lines, -11 lines 0 comments Download
M ui/base/test/run_all_unittests.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
tfarina
That will make it easier to do https://codereview.chromium.org/419093002/
6 years, 4 months ago (2014-08-09 16:01:33 UTC) #1
Lambros
rubberstamp lgtm for remoting/
6 years, 4 months ago (2014-08-09 17:52:11 UTC) #2
tony
https://codereview.chromium.org/457103003/diff/1/ui/base/resource/resource_bundle.h File ui/base/resource/resource_bundle.h (right): https://codereview.chromium.org/457103003/diff/1/ui/base/resource/resource_bundle.h#newcode132 ui/base/resource/resource_bundle.h:132: bool should_load_common_resources); It would be better if this were ...
6 years, 4 months ago (2014-08-11 16:25:56 UTC) #3
tfarina
https://codereview.chromium.org/457103003/diff/1/ui/base/resource/resource_bundle.h File ui/base/resource/resource_bundle.h (right): https://codereview.chromium.org/457103003/diff/1/ui/base/resource/resource_bundle.h#newcode132 ui/base/resource/resource_bundle.h:132: bool should_load_common_resources); On 2014/08/11 16:25:56, tony wrote: > It ...
6 years, 4 months ago (2014-08-12 04:01:01 UTC) #4
tony
LGTM once the try bots go green. https://codereview.chromium.org/457103003/diff/40001/ui/base/test/run_all_unittests.cc File ui/base/test/run_all_unittests.cc (right): https://codereview.chromium.org/457103003/diff/40001/ui/base/test/run_all_unittests.cc#newcode72 ui/base/test/run_all_unittests.cc:72: "en-US", NULL, ...
6 years, 4 months ago (2014-08-12 16:32:50 UTC) #5
tfarina
https://codereview.chromium.org/457103003/diff/40001/ui/base/test/run_all_unittests.cc File ui/base/test/run_all_unittests.cc (right): https://codereview.chromium.org/457103003/diff/40001/ui/base/test/run_all_unittests.cc#newcode72 ui/base/test/run_all_unittests.cc:72: "en-US", NULL, u::ResourceBundle::LOAD_COMMON_RESOURCES); On 2014/08/12 16:32:50, tony wrote: > ...
6 years, 4 months ago (2014-08-13 05:11:43 UTC) #6
tfarina
TBRing Ben for this. It is mostly updating callsites with the new parameter. Tony already ...
6 years, 4 months ago (2014-08-13 13:57:01 UTC) #7
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 4 months ago (2014-08-13 13:59:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/457103003/80001
6 years, 4 months ago (2014-08-13 14:01:07 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-13 17:39:20 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 01:05:58 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (80001) as 289435

Powered by Google App Engine
This is Rietveld 408576698