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

Issue 1646113002: Bring in a reduced/simplified version of Chromium's base::WeakPtr to //mojo/edk/util. (Closed)

Created:
4 years, 10 months ago by viettrungluu
Modified:
4 years, 10 months ago
Reviewers:
jamesr
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, darin (slow to review), gregsimon, mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Bring in a reduced/simplified version of Chromium's base::WeakPtr to //mojo/edk/util. Mostly, we just don't support SupportsWeakPtr. R=jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/687ca35f95dd68a130bd6e5b54a7f58f99ae8e1d

Patch Set 1 #

Total comments: 6

Patch Set 2 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -0 lines) Patch
M mojo/edk/util/BUILD.gn View 2 chunks +4 lines, -0 lines 0 comments Download
A mojo/edk/util/weak_ptr.h View 1 1 chunk +193 lines, -0 lines 0 comments Download
A mojo/edk/util/weak_ptr_internal.h View 1 chunk +44 lines, -0 lines 0 comments Download
A mojo/edk/util/weak_ptr_internal.cc View 1 chunk +28 lines, -0 lines 0 comments Download
A mojo/edk/util/weak_ptr_unittest.cc View 1 1 chunk +202 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
viettrungluu
4 years, 10 months ago (2016-01-28 23:49:33 UTC) #1
jamesr
lgtm but please initialize your stack data in the tests https://codereview.chromium.org/1646113002/diff/1/mojo/edk/util/weak_ptr.h File mojo/edk/util/weak_ptr.h (right): https://codereview.chromium.org/1646113002/diff/1/mojo/edk/util/weak_ptr.h#newcode85 ...
4 years, 10 months ago (2016-01-28 23:56:55 UTC) #2
viettrungluu
https://codereview.chromium.org/1646113002/diff/1/mojo/edk/util/weak_ptr.h File mojo/edk/util/weak_ptr.h (right): https://codereview.chromium.org/1646113002/diff/1/mojo/edk/util/weak_ptr.h#newcode85 mojo/edk/util/weak_ptr.h:85: // result is definitive on threads other than the ...
4 years, 10 months ago (2016-01-29 00:03:40 UTC) #3
viettrungluu
4 years, 10 months ago (2016-01-29 00:03:55 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
687ca35f95dd68a130bd6e5b54a7f58f99ae8e1d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698