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

Issue 2506383002: Mojo: adding a thread safe associated interface ptr. (Closed)

Created:
4 years, 1 month ago by Jay Civelli
Modified:
4 years, 1 month ago
Reviewers:
yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Generalizing ThreadSafeInterfacePtr class so that it can be specialized to support InterfacePtr and AssociatedInterfacePtr. BUG=666222 Committed: https://crrev.com/813fe9380b32017f9187b9fb1172354bd2763d65 Cr-Commit-Position: refs/heads/master@{#433056}

Patch Set 1 #

Patch Set 2 : Fixed BUILD.gn #

Total comments: 2

Patch Set 3 : Addressed comments #

Patch Set 4 : Resurecting comment #

Total comments: 2

Patch Set 5 : Addressed comment + sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -76 lines) Patch
M mojo/public/cpp/bindings/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 5 chunks +8 lines, -22 lines 0 comments Download
M mojo/public/cpp/bindings/tests/associated_interface_unittest.cc View 1 2 3 chunks +57 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/thread_safe_interface_ptr.h View 1 2 3 4 4 chunks +75 lines, -54 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
Jay Civelli
4 years, 1 month ago (2016-11-17 16:34:39 UTC) #4
yzshen1
https://codereview.chromium.org/2506383002/diff/20001/mojo/public/cpp/bindings/thread_safe_associated_interface_ptr.h File mojo/public/cpp/bindings/thread_safe_associated_interface_ptr.h (right): https://codereview.chromium.org/2506383002/diff/20001/mojo/public/cpp/bindings/thread_safe_associated_interface_ptr.h#newcode41 mojo/public/cpp/bindings/thread_safe_associated_interface_ptr.h:41: class ThreadSafeAssociatedInterfacePtr : It seems this code is the ...
4 years, 1 month ago (2016-11-17 17:58:12 UTC) #10
Jay Civelli
https://codereview.chromium.org/2506383002/diff/20001/mojo/public/cpp/bindings/thread_safe_associated_interface_ptr.h File mojo/public/cpp/bindings/thread_safe_associated_interface_ptr.h (right): https://codereview.chromium.org/2506383002/diff/20001/mojo/public/cpp/bindings/thread_safe_associated_interface_ptr.h#newcode41 mojo/public/cpp/bindings/thread_safe_associated_interface_ptr.h:41: class ThreadSafeAssociatedInterfacePtr : On 2016/11/17 17:58:12, yzshen1 wrote: > ...
4 years, 1 month ago (2016-11-17 19:16:20 UTC) #13
yzshen1
LGTM Thanks! https://codereview.chromium.org/2506383002/diff/60001/mojo/public/cpp/bindings/thread_safe_interface_ptr.h File mojo/public/cpp/bindings/thread_safe_interface_ptr.h (right): https://codereview.chromium.org/2506383002/diff/60001/mojo/public/cpp/bindings/thread_safe_interface_ptr.h#newcode52 mojo/public/cpp/bindings/thread_safe_interface_ptr.h:52: LOG(ERROR) << "Attempting to create a ThreadSafeInterfacePtr ...
4 years, 1 month ago (2016-11-17 19:21:41 UTC) #16
Jay Civelli
https://codereview.chromium.org/2506383002/diff/60001/mojo/public/cpp/bindings/thread_safe_interface_ptr.h File mojo/public/cpp/bindings/thread_safe_interface_ptr.h (right): https://codereview.chromium.org/2506383002/diff/60001/mojo/public/cpp/bindings/thread_safe_interface_ptr.h#newcode52 mojo/public/cpp/bindings/thread_safe_interface_ptr.h:52: LOG(ERROR) << "Attempting to create a ThreadSafeInterfacePtr from an ...
4 years, 1 month ago (2016-11-17 19:29:20 UTC) #18
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/2506383002/80001
4 years, 1 month ago (2016-11-17 19:30:47 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/264522)
4 years, 1 month ago (2016-11-17 20:41:12 UTC) #23
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/2506383002/80001
4 years, 1 month ago (2016-11-17 20:57:44 UTC) #25
commit-bot: I haz the power
Failed to apply the patch.
4 years, 1 month ago (2016-11-18 00:07:23 UTC) #27
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/2506383002/80001
4 years, 1 month ago (2016-11-18 00:15:53 UTC) #29
commit-bot: I haz the power
Failed to apply the patch.
4 years, 1 month ago (2016-11-18 00:42:53 UTC) #31
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/2506383002/80001
4 years, 1 month ago (2016-11-18 02:06:05 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-18 03:23:13 UTC) #35
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 03:25:32 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/813fe9380b32017f9187b9fb1172354bd2763d65
Cr-Commit-Position: refs/heads/master@{#433056}

Powered by Google App Engine
This is Rietveld 408576698