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

Issue 635623003: Cleanup: Better constify some strings in chrome. (Closed)

Created:
6 years, 2 months ago by Lei Zhang
Modified:
6 years, 2 months ago
Reviewers:
stgao
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, extensions-reviews_chromium.org, vsevik, tfarina, grt+watch_chromium.org, devtools-reviews_chromium.org, rouslan+spellwatch_chromium.org, yurys, paulirish+reviews_chromium.org, rlp+watch_chromium.org, wfh+watch_chromium.org, groby+spellwatch_chromium.org, chromium-apps-reviews_chromium.org, stgao, aandrey+blink_chromium.org, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cleanup: Better constify some strings in chrome. Also fix passing by non-const reference in chromedriver. Committed: https://crrev.com/84fcd2a6a6b037da6552b21af95fab268bc05a6f Cr-Commit-Position: refs/heads/master@{#300629}

Patch Set 1 #

Patch Set 2 : lint #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : fix mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -114 lines) Patch
M chrome/app/chrome_main_delegate.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/chrome_content_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/crash_keys.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/webstore/webstore_api_constants.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/webstore/webstore_api_constants.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/manifest_handlers/app_launch_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/manifest_handlers/content_scripts_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/update_manifest_unittest.cc View 11 chunks +11 lines, -11 lines 0 comments Download
M chrome/common/mac/mock_launchd.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/mac/objc_zombie.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/service_process_util_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/installer/util/master_preferences_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/app_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/pepper/pepper_flash_renderer_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/plugins/plugin_uma.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/plugins/plugin_uma.cc View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/renderer/principals_extension_bindings.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M chrome/renderer/spellchecker/spellcheck_unittest.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M chrome/test/base/tracing_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/capabilities.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/chromedriver/chrome/device_manager.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/chrome/device_manager.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/test/chromedriver/chrome/devtools_client_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/heap_snapshot_taker.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/heap_snapshot_taker_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/web_view_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome_launcher.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome_launcher.cc View 1 2 12 chunks +13 lines, -13 lines 0 comments Download
M chrome/test/chromedriver/element_util.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/logging.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/server/chromedriver_server.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/session_commands.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/session_commands_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/util_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/chromedriver/window_commands.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/tools/mac_helpers/infoplist_strings_util.mm View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/tools/profile_reset/jtl_compiler_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/cloud_print/pwg_encoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/extensions/unpacker_unittest.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/utility/importer/firefox_importer.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/utility/importer/nss_decryptor.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/utility/importer/safari_importer.mm View 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/utility/web_resource_unpacker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/utility/web_resource_unpacker.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Lei Zhang
Hi, if you can take a look at the chromedriver changes, and also stamp the ...
6 years, 2 months ago (2014-10-22 00:37:52 UTC) #2
stgao
lgtm after compile error is fixed. Many thanks for the cleanup. https://codereview.chromium.org/635623003/diff/40001/chrome/tools/mac_helpers/infoplist_strings_util.mm File chrome/tools/mac_helpers/infoplist_strings_util.mm (right): ...
6 years, 2 months ago (2014-10-22 01:40:16 UTC) #3
Lei Zhang
Thanks for the quick review. https://codereview.chromium.org/635623003/diff/40001/chrome/tools/mac_helpers/infoplist_strings_util.mm File chrome/tools/mac_helpers/infoplist_strings_util.mm (right): https://codereview.chromium.org/635623003/diff/40001/chrome/tools/mac_helpers/infoplist_strings_util.mm#newcode242 chrome/tools/mac_helpers/infoplist_strings_util.mm:242: short_name_id_str = "IDS_SHORT_HELPER_NAME"; On ...
6 years, 2 months ago (2014-10-22 02:24:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/635623003/60001
6 years, 2 months ago (2014-10-22 02:25:21 UTC) #6
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-22 04:16:29 UTC) #7
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 04:17:34 UTC) #8
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/84fcd2a6a6b037da6552b21af95fab268bc05a6f
Cr-Commit-Position: refs/heads/master@{#300629}

Powered by Google App Engine
This is Rietveld 408576698