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

Issue 2497113002: MD Settings: Cleanup ifdefs when registering localized strings. (Closed)

Created:
4 years, 1 month ago by dpapad
Modified:
4 years, 1 month ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Cleanup ifdefs when registering localized strings. Keeping calls alphabetized within each ifdef seems more readable than keeping them alphabetized overall, and having to repeat the same ifdef condition multiple times. This also makes it easer to use a tool for sorting. BUG=None Committed: https://crrev.com/9aa225706e9a79ebcddb6e233c6b7fb7d74c3169 Cr-Commit-Position: refs/heads/master@{#431750}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -31 lines) Patch
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 chunks +20 lines, -31 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
dpapad
4 years, 1 month ago (2016-11-12 01:24:31 UTC) #5
Dan Beam
lgtm https://codereview.chromium.org/2497113002/diff/1/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc File chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc (right): https://codereview.chromium.org/2497113002/diff/1/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc#newcode1780 chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc:1780: #if !defined(OS_CHROMEOS) nit: #else
4 years, 1 month ago (2016-11-12 01:41:57 UTC) #7
dpapad
https://codereview.chromium.org/2497113002/diff/1/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc File chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc (right): https://codereview.chromium.org/2497113002/diff/1/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc#newcode1780 chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc:1780: #if !defined(OS_CHROMEOS) On 2016/11/12 at 01:41:57, Dan Beam wrote: ...
4 years, 1 month ago (2016-11-12 01:45:03 UTC) #8
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/2497113002/20001
4 years, 1 month ago (2016-11-12 01:45:56 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-12 02:33:40 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 02:34:45 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9aa225706e9a79ebcddb6e233c6b7fb7d74c3169
Cr-Commit-Position: refs/heads/master@{#431750}

Powered by Google App Engine
This is Rietveld 408576698