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

Issue 1641563002: Remove linked_ptr usage in //base. (Closed)

Created:
4 years, 11 months ago by dcheng
Modified:
4 years, 10 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove linked_ptr usage in //base. And clean up some code that didn't IWYU. BUG=556939 Committed: https://crrev.com/2588941279b28a6cf205896b955402e36535af6d Cr-Commit-Position: refs/heads/master@{#372977}

Patch Set 1 #

Patch Set 2 : fix random build breakage #

Patch Set 3 : . #

Total comments: 9

Patch Set 4 : Address comment #

Total comments: 3

Patch Set 5 : More scoped_ptr #

Patch Set 6 : Make FindInfo refcounted #

Patch Set 7 : rebase #

Patch Set 8 : Rebase correctly #

Patch Set 9 : Fix rebase, really #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -121 lines) Patch
M base/supports_user_data.h View 2 chunks +2 lines, -2 lines 0 comments Download
M base/supports_user_data.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/threading/sequenced_worker_pool.cc View 1 2 3 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.cc View 1 2 3 4 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/printing/cloud_print/privet_notifications.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/printing/cloud_print/privet_notifications.cc View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
M components/guest_view/browser/guest_view_base.h View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
M components/guest_view/browser/guest_view_base.cc View 1 2 3 4 5 3 chunks +8 lines, -6 lines 0 comments Download
M components/guest_view/browser/guest_view_event.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M components/guest_view/browser/guest_view_event.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/guest_view/extension_options/extension_options_guest.cc View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M extensions/browser/guest_view/extension_view/extension_view_guest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_find_helper.h View 1 2 3 4 5 4 chunks +10 lines, -5 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_find_helper.cc View 1 2 3 4 5 6 7 8 8 chunks +11 lines, -13 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.h View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 15 chunks +36 lines, -37 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest_delegate.h View 1 2 3 2 chunks +1 line, -9 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_permission_helper.cc View 1 2 3 4 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 51 (23 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641563002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641563002/1
4 years, 11 months ago (2016-01-27 07:56:42 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/14143) chromeos_amd64-generic_chromium_compile_only_ng on ...
4 years, 11 months ago (2016-01-27 08:13:39 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641563002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641563002/20001
4 years, 11 months ago (2016-01-27 08:25:32 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/157915)
4 years, 11 months ago (2016-01-27 09:13:59 UTC) #8
dcheng
+paulmeyer for guest view changes. https://codereview.chromium.org/1641563002/diff/40001/chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc File chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc (left): https://codereview.chromium.org/1641563002/diff/40001/chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc#oldcode151 chrome/browser/extensions/api/web_view/chrome_web_view_internal_api.cc:151: guest->ShowContextMenu(params->request_id, NULL); The semantics ...
4 years, 11 months ago (2016-01-27 22:18:27 UTC) #12
danakj
https://codereview.chromium.org/1641563002/diff/40001/base/supports_user_data.cc File base/supports_user_data.cc (right): https://codereview.chromium.org/1641563002/diff/40001/base/supports_user_data.cc#newcode22 base/supports_user_data.cc:22: void SupportsUserData::SetUserData(const void* key, Data* data) { can you ...
4 years, 11 months ago (2016-01-27 22:20:51 UTC) #13
dcheng
https://codereview.chromium.org/1641563002/diff/40001/base/supports_user_data.cc File base/supports_user_data.cc (right): https://codereview.chromium.org/1641563002/diff/40001/base/supports_user_data.cc#newcode22 base/supports_user_data.cc:22: void SupportsUserData::SetUserData(const void* key, Data* data) { On 2016/01/27 ...
4 years, 11 months ago (2016-01-27 22:26:01 UTC) #14
danakj
https://codereview.chromium.org/1641563002/diff/40001/base/supports_user_data.cc File base/supports_user_data.cc (right): https://codereview.chromium.org/1641563002/diff/40001/base/supports_user_data.cc#newcode22 base/supports_user_data.cc:22: void SupportsUserData::SetUserData(const void* key, Data* data) { On 2016/01/27 ...
4 years, 11 months ago (2016-01-27 22:28:31 UTC) #15
dcheng
https://codereview.chromium.org/1641563002/diff/40001/base/supports_user_data.cc File base/supports_user_data.cc (right): https://codereview.chromium.org/1641563002/diff/40001/base/supports_user_data.cc#newcode22 base/supports_user_data.cc:22: void SupportsUserData::SetUserData(const void* key, Data* data) { On 2016/01/27 ...
4 years, 11 months ago (2016-01-27 22:30:30 UTC) #16
paulmeyer
LGTM for GuestView changes.
4 years, 10 months ago (2016-01-28 14:28:09 UTC) #17
vmpstr
https://codereview.chromium.org/1641563002/diff/60001/components/guest_view/browser/guest_view_base.cc File components/guest_view/browser/guest_view_base.cc (left): https://codereview.chromium.org/1641563002/diff/60001/components/guest_view/browser/guest_view_base.cc#oldcode774 components/guest_view/browser/guest_view_base.cc:774: event_ptr.release()->Dispatch(this, view_instance_id_); Just out of curiosity, was this leaking ...
4 years, 10 months ago (2016-01-28 19:53:34 UTC) #19
dcheng
+thestig for //chrome/browser/printing changes. https://codereview.chromium.org/1641563002/diff/60001/components/guest_view/browser/guest_view_base.cc File components/guest_view/browser/guest_view_base.cc (left): https://codereview.chromium.org/1641563002/diff/60001/components/guest_view/browser/guest_view_base.cc#oldcode774 components/guest_view/browser/guest_view_base.cc:774: event_ptr.release()->Dispatch(this, view_instance_id_); On 2016/01/28 at ...
4 years, 10 months ago (2016-01-28 20:32:14 UTC) #23
Lei Zhang
On 2016/01/28 20:32:14, dcheng wrote: > +thestig for //chrome/browser/printing changes. lgtm
4 years, 10 months ago (2016-01-28 22:23:21 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641563002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641563002/60001
4 years, 10 months ago (2016-01-28 22:33:41 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/171983)
4 years, 10 months ago (2016-01-28 23:26:39 UTC) #28
Fady Samuel
https://codereview.chromium.org/1641563002/diff/60001/components/guest_view/browser/guest_view_base.cc File components/guest_view/browser/guest_view_base.cc (left): https://codereview.chromium.org/1641563002/diff/60001/components/guest_view/browser/guest_view_base.cc#oldcode774 components/guest_view/browser/guest_view_base.cc:774: event_ptr.release()->Dispatch(this, view_instance_id_); On 2016/01/28 20:32:14, dcheng wrote: > On ...
4 years, 10 months ago (2016-01-28 23:29:34 UTC) #30
Fady Samuel
On 2016/01/28 23:29:34, Fady Samuel wrote: > https://codereview.chromium.org/1641563002/diff/60001/components/guest_view/browser/guest_view_base.cc > File components/guest_view/browser/guest_view_base.cc (left): > > https://codereview.chromium.org/1641563002/diff/60001/components/guest_view/browser/guest_view_base.cc#oldcode774 ...
4 years, 10 months ago (2016-01-28 23:30:41 UTC) #31
dcheng
fsamuel: thanks for the tips. I've changed the code to use scoped_ptr in more places, ...
4 years, 10 months ago (2016-01-29 01:10:37 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641563002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641563002/80001
4 years, 10 months ago (2016-01-29 01:10:50 UTC) #34
Fady Samuel
guest_view lgtm.
4 years, 10 months ago (2016-01-29 01:26:14 UTC) #35
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/173185)
4 years, 10 months ago (2016-01-29 02:01:42 UTC) #37
dcheng
PTAL at the changes in //extensions/browser/guest_view/web_view/web_view_find_helper.* I ended up giving up on having unique ownership ...
4 years, 10 months ago (2016-02-02 00:53:29 UTC) #38
Fady Samuel
guest_view lgtm
4 years, 10 months ago (2016-02-02 00:55:19 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641563002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641563002/140001
4 years, 10 months ago (2016-02-02 07:54:00 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/174819)
4 years, 10 months ago (2016-02-02 08:52:26 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641563002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641563002/160001
4 years, 10 months ago (2016-02-02 17:31:43 UTC) #47
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 10 months ago (2016-02-02 17:42:36 UTC) #49
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 17:44:31 UTC) #51
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/2588941279b28a6cf205896b955402e36535af6d
Cr-Commit-Position: refs/heads/master@{#372977}

Powered by Google App Engine
This is Rietveld 408576698