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

Issue 2613153003: [Presentation API] Replaces type converters with typemaps (Closed)

Created:
3 years, 11 months ago by mark a. foltz
Modified:
3 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Zhiqiang Zhang (Slow)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace type converters for presentation.mojom with typemaps. Typemap for ConnectionMessage will come in a separate patch, which should finish the conversion for presentation.mojom, barring further refactorings. BUG=632623 Review-Url: https://codereview.chromium.org/2613153003 Cr-Commit-Position: refs/heads/master@{#448057} Committed: https://chromium.googlesource.com/chromium/src/+/dfbd7c3e439e77b2d685ba90e0a90178a164410c

Patch Set 1 #

Patch Set 2 : Finish struct traits #

Patch Set 3 : Fixed PresentationServiceImpl #

Patch Set 4 : Fix PresentationDispatcher #

Patch Set 5 : Merge with 2613153003 #

Patch Set 6 : Rebase and add DEPS include for presentation.mojom.h #

Patch Set 7 : Fix unittests #

Patch Set 8 : Add more OWNERS foo #

Total comments: 15

Patch Set 9 : Respond to comments #

Patch Set 10 : Rebase #

Patch Set 11 : Fix many minor errors from rebase #

Patch Set 12 : Rebase again #

Total comments: 1

Patch Set 13 : Extend presentation ID max length to 64. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+468 lines, -492 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/presentation/OWNERS View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/presentation/presentation_service_impl.h View 1 2 3 4 5 6 7 8 9 6 chunks +13 lines, -13 lines 0 comments Download
M content/browser/presentation/presentation_service_impl.cc View 1 2 3 4 5 6 7 8 9 19 chunks +32 lines, -56 lines 0 comments Download
M content/browser/presentation/presentation_service_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 20 chunks +54 lines, -106 lines 0 comments Download
D content/browser/presentation/presentation_type_converters.h View 1 2 3 4 5 1 chunk +0 lines, -64 lines 0 comments Download
D content/browser/presentation/presentation_type_converters.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -61 lines 0 comments Download
D content/browser/presentation/presentation_type_converters_unittest.cc View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
M content/common/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M content/common/presentation/OWNERS View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
A content/common/presentation/presentation.typemap View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
A content/common/presentation/presentation_struct_traits.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +202 lines, -0 lines 0 comments Download
A content/common/presentation/typemaps.gni View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/common/presentation_session.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -4 lines 0 comments Download
M content/renderer/presentation/presentation_connection_proxy.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/presentation/presentation_connection_proxy.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -4 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +17 lines, -16 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 11 chunks +74 lines, -82 lines 0 comments Download
M content/renderer/presentation/presentation_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +29 lines, -44 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/chromium_bindings_configuration.gni View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 45 (27 generated)
mark a. foltz
+nasko@ for content/common and all SECURITY_OWNERS related changes +imcheng@, zhaobin@ for all of it PTAL
3 years, 11 months ago (2017-01-24 00:35:19 UTC) #5
zhaobin
lgtm
3 years, 11 months ago (2017-01-24 01:42:37 UTC) #6
imcheng
lgtm https://codereview.chromium.org/2613153003/diff/140001/content/browser/presentation/presentation_service_impl_unittest.cc File content/browser/presentation/presentation_service_impl_unittest.cc (right): https://codereview.chromium.org/2613153003/diff/140001/content/browser/presentation/presentation_service_impl_unittest.cc#newcode48 content/browser/presentation/presentation_service_impl_unittest.cc:48: const content::PresentationSessionInfo& expected_value = expected; nit: |expected_value| seems ...
3 years, 11 months ago (2017-01-24 23:31:40 UTC) #15
nasko
Just first set of comments, since I'll have to continue the review later today. https://codereview.chromium.org/2613153003/diff/140001/content/common/presentation/presentation_struct_traits.h ...
3 years, 11 months ago (2017-01-25 17:58:16 UTC) #16
mark a. foltz
PTAL https://codereview.chromium.org/2613153003/diff/140001/content/browser/presentation/presentation_service_impl_unittest.cc File content/browser/presentation/presentation_service_impl_unittest.cc (right): https://codereview.chromium.org/2613153003/diff/140001/content/browser/presentation/presentation_service_impl_unittest.cc#newcode48 content/browser/presentation/presentation_service_impl_unittest.cc:48: const content::PresentationSessionInfo& expected_value = expected; On 2017/01/24 at ...
3 years, 10 months ago (2017-01-27 22:41:08 UTC) #17
mark a. foltz
ping nasko@
3 years, 10 months ago (2017-01-31 06:57:57 UTC) #22
nasko
LGTM
3 years, 10 months ago (2017-01-31 15:28:19 UTC) #23
mark a. foltz
+rockot@ for one-line change to mojo/public/tools/bindings/chromium_bindings_configuration.gni
3 years, 10 months ago (2017-01-31 17:25:24 UTC) #25
Ken Rockot(use gerrit already)
lgtm
3 years, 10 months ago (2017-01-31 21:06:58 UTC) #26
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/2613153003/220001
3 years, 10 months ago (2017-01-31 21:59:45 UTC) #30
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/2613153003/220001
3 years, 10 months ago (2017-01-31 22:02:42 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/223833)
3 years, 10 months ago (2017-02-01 00:00:05 UTC) #34
whywhat
Zhiqiang, for some reason the MR Android tests are failing. Do you have any ideas ...
3 years, 10 months ago (2017-02-01 00:13:55 UTC) #36
Zhiqiang Zhang (Slow)
On 2017/02/01 00:13:55, whywhat_slow_PST_till_Feb_6 wrote: > Zhiqiang, for some reason the MR Android tests are ...
3 years, 10 months ago (2017-02-01 11:14:08 UTC) #37
Zhiqiang Zhang (Slow)
mfoltz@, avayvod@: I found the test failure cause. https://codereview.chromium.org/2613153003/diff/220001/content/common/presentation/presentation_struct_traits.h File content/common/presentation/presentation_struct_traits.h (right): https://codereview.chromium.org/2613153003/diff/220001/content/common/presentation/presentation_struct_traits.h#newcode163 content/common/presentation/presentation_struct_traits.h:163: out->presentation_id.length() ...
3 years, 10 months ago (2017-02-01 14:55:41 UTC) #38
mark a. foltz
On 2017/02/01 at 14:55:41, zqzhang wrote: > mfoltz@, avayvod@: I found the test failure cause. ...
3 years, 10 months ago (2017-02-03 18:42:48 UTC) #39
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/2613153003/240001
3 years, 10 months ago (2017-02-03 18:43:43 UTC) #42
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 20:06:08 UTC) #45
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/dfbd7c3e439e77b2d685ba90e0a9...

Powered by Google App Engine
This is Rietveld 408576698