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

Issue 2817603003: Remove ListValue::Append(raw ptr) on Mac and iOS (Closed)

Created:
3 years, 8 months ago by vabr (Chromium)
Modified:
3 years, 8 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, mac-reviews_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ListValue::Append(raw ptr) on Mac and iOS ListValue::Append(raw ptr) is deprecated and the unique_ptr version should be used instead. This CL achieves that on Mac and iOS specifically. The CL also changes some related calls to DictionaryValue::Set to take a unique_ptr instead of a raw one. BUG=581865 Review-Url: https://codereview.chromium.org/2817603003 Cr-Commit-Position: refs/heads/master@{#464862} Committed: https://chromium.googlesource.com/chromium/src/+/aec0f17718b8e13656d7c9f9fe795a0b8066ffcc

Patch Set 1 #

Patch Set 2 : Fix more + iOS #

Patch Set 3 : More Mac fixes #

Patch Set 4 : Fix even more Mac #

Total comments: 18

Patch Set 5 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -28 lines) Patch
M base/values.h View 1 chunk +1 line, -1 line 0 comments Download
M base/values.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/common/mac_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/policy/core/common/mac_util_unittest.cc View 1 2 3 4 1 chunk +7 lines, -7 lines 0 comments Download
M components/wifi/fake_wifi_service.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M components/wifi/wifi_service_mac.mm View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter_mac.mm View 1 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M content/common/font_list_mac.mm View 1 2 3 4 2 chunks +7 lines, -6 lines 0 comments Download
M ios/chrome/browser/passwords/password_controller.mm View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/settings/block_popups_collection_view_controller.mm View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 39 (29 generated)
vabr (Chromium)
Hi all, Please review: jdoerie@: the whole patch brettw@: //base Please rubberstamp: jochen@: //components and ...
3 years, 8 months ago (2017-04-12 11:34:49 UTC) #18
jochen (gone - plz use gerrit)
lgtm
3 years, 8 months ago (2017-04-12 11:35:54 UTC) #19
jdoerrie
LGTM, just a few nits :) https://codereview.chromium.org/2817603003/diff/60001/components/policy/core/common/mac_util_unittest.cc File components/policy/core/common/mac_util_unittest.cc (right): https://codereview.chromium.org/2817603003/diff/60001/components/policy/core/common/mac_util_unittest.cc#newcode43 components/policy/core/common/mac_util_unittest.cc:43: root.Set("emptyl", base::MakeUnique<base::Value>(list)); Given ...
3 years, 8 months ago (2017-04-12 12:37:47 UTC) #22
vabr (Chromium)
Thanks, Jan! Comments addressed. Once Brett is OK with the base change I will attempt ...
3 years, 8 months ago (2017-04-12 12:55:04 UTC) #25
sdefresne
ios lgtm
3 years, 8 months ago (2017-04-12 14:19:48 UTC) #28
brettw
lgtm
3 years, 8 months ago (2017-04-14 17:28:25 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/2817603003/80001
3 years, 8 months ago (2017-04-14 21:18:49 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/422870)
3 years, 8 months ago (2017-04-14 23:46:47 UTC) #34
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/2817603003/80001
3 years, 8 months ago (2017-04-15 07:28:46 UTC) #36
commit-bot: I haz the power
3 years, 8 months ago (2017-04-15 09:00:34 UTC) #39
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/aec0f17718b8e13656d7c9f9fe79...

Powered by Google App Engine
This is Rietveld 408576698