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

Issue 2838893002: Remove base::ListValue::Set(size_t, base::Value*) (Closed)

Created:
3 years, 8 months ago by jdoerrie
Modified:
3 years, 8 months ago
CC:
asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, jshin+watch_chromium.org, samuong+watch_chromium.org, tbansal+watch-data-reduction-proxy_chromium.org, tfarina, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove base::ListValue::Set(size_t, base::Value*) This change removes the raw pointer version of base::ListValue::Set, replacing it with the unique_ptr version or base::ListValue::Append* where appropriate. BUG=646113 Review-Url: https://codereview.chromium.org/2838893002 Cr-Commit-Position: refs/heads/master@{#467340} Committed: https://chromium.googlesource.com/chromium/src/+/f1e72e36770eb7fc01f6b19b58ff645b7ae0368a

Patch Set 1 #

Patch Set 2 : auto and includes #

Patch Set 3 : iOS #

Patch Set 4 : Android, Fuzzer and JSON Test Fixes #

Total comments: 9

Patch Set 5 : Addressed comments #

Patch Set 6 : Fix Compilation Error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -92 lines) Patch
M base/metrics/histogram.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M base/values.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M base/values.cc View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/metrics/android_metrics_provider.cc View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/speech/extension_api/tts_extension_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/chromedriver/chrome/web_view_impl.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M components/bookmarks/browser/bookmark_expanded_state_tracker.cc View 1 2 chunks +9 lines, -5 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/json_schema/json_schema_validator_unittest_base.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M components/policy/core/common/configuration_policy_provider_test.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M content/common/common_param_traits_unittest.cc View 1 2 3 4 2 chunks +14 lines, -14 lines 0 comments Download
M extensions/browser/api/declarative/declarative_api.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/device_permissions_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/extension_l10n_util.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ios/chrome/browser/notification_promo_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ipc/ipc_message_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M ipc/ipc_message_utils.cc View 1 2 3 4 5 7 chunks +19 lines, -20 lines 0 comments Download
M tools/ipc_fuzzer/fuzzer/fuzzer.cc View 1 2 3 4 3 chunks +21 lines, -12 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (26 generated)
jdoerrie
brettw@chromium.org: Please review changes in //base rsesek@chromium.org: Please review changes in //content/common/common_param_traits_unittest.cc vabr@chromium.org: Please review ...
3 years, 8 months ago (2017-04-25 14:08:12 UTC) #4
Robert Sesek
LGTM
3 years, 8 months ago (2017-04-25 14:11:21 UTC) #5
vabr (Chromium)
Hi Jan, My comments are mostly optional, with the exception of the one in fuzzer.cc ...
3 years, 8 months ago (2017-04-25 17:13:16 UTC) #16
brettw
lgtm https://codereview.chromium.org/2838893002/diff/60001/tools/ipc_fuzzer/fuzzer/fuzzer.cc File tools/ipc_fuzzer/fuzzer/fuzzer.cc (right): https://codereview.chromium.org/2838893002/diff/60001/tools/ipc_fuzzer/fuzzer/fuzzer.cc#newcode547 tools/ipc_fuzzer/fuzzer/fuzzer.cc:547: p->GetDictionary(index, &tmp); This looks wrong to me too.
3 years, 8 months ago (2017-04-25 19:55:45 UTC) #17
jdoerrie
Hi Mike, do you mind reviewing the Patch Set 2 to Patch Set 6 delta ...
3 years, 8 months ago (2017-04-26 11:34:37 UTC) #27
vabr (Chromium)
Still LGTM. Thanks! Vaclav
3 years, 8 months ago (2017-04-26 12:51:46 UTC) #28
Mike West
LGTM.
3 years, 8 months ago (2017-04-26 15:23:46 UTC) #29
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/2838893002/100001
3 years, 8 months ago (2017-04-26 16:18:15 UTC) #32
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 16:24:14 UTC) #35
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/f1e72e36770eb7fc01f6b19b58ff...

Powered by Google App Engine
This is Rietveld 408576698