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

Issue 632103004: Cleanup: Better constify some strings in base. (Closed)

Created:
6 years, 2 months ago by Lei Zhang
Modified:
6 years, 2 months ago
Reviewers:
danakj
CC:
chromium-reviews, wfh+watch_chromium.org, dsinclair+watch_chromium.org, asvitkine+watch_chromium.org, erikwright+watch_chromium.org, Ilya Sherman, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cleanup: Better constify some strings in base. Fix some lint errors along the way. Committed: https://crrev.com/073d514d518521a5c409d5037b45e0a46602c997 Cr-Commit-Position: refs/heads/master@{#300407}

Patch Set 1 #

Patch Set 2 : lint #

Total comments: 11

Patch Set 3 : rebase, no changes #

Patch Set 4 : fix bad refactoring #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -120 lines) Patch
M base/debug/crash_logging_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M base/debug/proc_maps_linux_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M base/debug/trace_event_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/debug/trace_event_impl.h View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M base/debug/trace_event_impl_constants.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/debug/trace_event_unittest.cc View 1 2 9 chunks +23 lines, -24 lines 0 comments Download
M base/environment_unittest.cc View 1 5 chunks +8 lines, -8 lines 0 comments Download
M base/files/file_path.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M base/i18n/break_iterator_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M base/json/json_file_value_serializer.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M base/json/json_file_value_serializer.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M base/json/json_parser.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M base/json/json_reader.h View 1 chunk +8 lines, -8 lines 0 comments Download
M base/json/json_reader.cc View 1 chunk +8 lines, -8 lines 0 comments Download
M base/json/json_reader_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/mac/mac_util_unittest.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M base/md5_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/metrics/field_trial_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M base/nix/xdg_util_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M base/prefs/overlay_user_pref_store_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M base/strings/string_util_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M base/strings/stringprintf_unittest.cc View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M base/sys_info_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/sys_info_unittest.cc View 5 chunks +7 lines, -7 lines 0 comments Download
M base/test/expectations/expectation_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/test/expectations/parser_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M base/test/trace_event_analyzer_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/threading/thread_id_name_manager_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Lei Zhang
Better start getting used to base/ reviews.
6 years, 2 months ago (2014-10-07 00:17:55 UTC) #2
danakj
I don't get why is const char foo[] better than const char*? And why are ...
6 years, 2 months ago (2014-10-07 17:13:54 UTC) #3
Lei Zhang
https://codereview.chromium.org/632103004/diff/20001/base/debug/crash_logging_unittest.cc File base/debug/crash_logging_unittest.cc (right): https://codereview.chromium.org/632103004/diff/20001/base/debug/crash_logging_unittest.cc#newcode47 base/debug/crash_logging_unittest.cc:47: const char kTestKey[] = "test-key"; On 2014/10/07 17:13:54, danakj ...
6 years, 2 months ago (2014-10-17 21:19:38 UTC) #4
danakj
LGTM https://codereview.chromium.org/632103004/diff/20001/base/debug/crash_logging_unittest.cc File base/debug/crash_logging_unittest.cc (right): https://codereview.chromium.org/632103004/diff/20001/base/debug/crash_logging_unittest.cc#newcode47 base/debug/crash_logging_unittest.cc:47: const char kTestKey[] = "test-key"; On 2014/10/17 21:19:38, ...
6 years, 2 months ago (2014-10-18 18:47:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/632103004/60001
6 years, 2 months ago (2014-10-20 18:40:55 UTC) #7
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-21 00:44:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/632103004/60001
6 years, 2 months ago (2014-10-21 00:50:10 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-21 03:11:31 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-21 03:13:15 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/073d514d518521a5c409d5037b45e0a46602c997
Cr-Commit-Position: refs/heads/master@{#300407}

Powered by Google App Engine
This is Rietveld 408576698