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

Issue 2043833002: Add SurfaceSequence mojom file to cc/ipc and edit corresponding GYP file (Closed)

Created:
4 years, 6 months ago by xlai (Olivia)
Modified:
4 years, 6 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, cc-bugs_chromium.org, ben+mojo_chromium.org, darin (slow to review)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add SurfaceSequence mojom file to cc/ipc and edit corresponding GYP file This patch is to facilitate landing a new mojo service in another patch (https://codereview.chromium.org/2036663003/) which requires to import both surface_id and surface_sequence in mojom files. It adds surface_sequence.mojom and include both it and surface_id.mojom into GYP compilation (Currently it's only included in GN build). BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/a1eb2b0655e1cbdabed5562339f42c880343845d Cr-Commit-Position: refs/heads/master@{#398590}

Patch Set 1 #

Patch Set 2 : Modify cc/BUILD.gn #

Patch Set 3 : Test added #

Total comments: 4

Patch Set 4 : Change based on fsamuel's feedback #

Total comments: 4

Patch Set 5 : Edit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -0 lines) Patch
M cc/cc.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M cc/ipc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M cc/ipc/cc_ipc.gyp View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
M cc/ipc/struct_traits_unittest.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
A cc/ipc/surface_sequence.mojom View 1 chunk +15 lines, -0 lines 0 comments Download
A cc/ipc/surface_sequence.typemap View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
A cc/ipc/surface_sequence_struct_traits.h View 1 chunk +32 lines, -0 lines 0 comments Download
M cc/ipc/traits_test_service.mojom View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M cc/ipc/typemaps.gni View 1 chunk +1 line, -0 lines 0 comments Download
M cc/surfaces/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (16 generated)
xlai (Olivia)
Please take a look at this. Thanks!
4 years, 6 months ago (2016-06-06 17:23:34 UTC) #3
Fady Samuel
Could you please write a test?
4 years, 6 months ago (2016-06-06 17:38:39 UTC) #4
xlai (Olivia)
Adding unit test to check whether SurfaceSequence type conversion is done properly.
4 years, 6 months ago (2016-06-06 18:14:25 UTC) #5
Fady Samuel
lgtm once comments addressed. Thanks. Please send to tsepez@ for security review. https://codereview.chromium.org/2043833002/diff/40001/cc/ipc/surface_sequence.typemap File cc/ipc/surface_sequence.typemap ...
4 years, 6 months ago (2016-06-06 18:34:30 UTC) #6
xlai (Olivia)
https://codereview.chromium.org/2043833002/diff/40001/cc/ipc/surface_sequence.typemap File cc/ipc/surface_sequence.typemap (right): https://codereview.chromium.org/2043833002/diff/40001/cc/ipc/surface_sequence.typemap#newcode8 cc/ipc/surface_sequence.typemap:8: deps = [ "//cc/surfaces:surface_sequence", ] On 2016/06/06 18:34:30, Fady ...
4 years, 6 months ago (2016-06-06 19:04:32 UTC) #7
Fady Samuel
On 2016/06/06 19:04:32, xlai (Olivia) wrote: > https://codereview.chromium.org/2043833002/diff/40001/cc/ipc/surface_sequence.typemap > File cc/ipc/surface_sequence.typemap (right): > > https://codereview.chromium.org/2043833002/diff/40001/cc/ipc/surface_sequence.typemap#newcode8 ...
4 years, 6 months ago (2016-06-06 22:16:28 UTC) #8
xlai (Olivia)
Adding tsepez@ for security review and enne@ for edits to cc/ folder. To fsamuel@: I ...
4 years, 6 months ago (2016-06-06 22:28:25 UTC) #10
Tom Sepez
The mojom itself is fine, but I've one question. https://codereview.chromium.org/2043833002/diff/60001/cc/ipc/surface_sequence.mojom File cc/ipc/surface_sequence.mojom (right): https://codereview.chromium.org/2043833002/diff/60001/cc/ipc/surface_sequence.mojom#newcode9 cc/ipc/surface_sequence.mojom:9: ...
4 years, 6 months ago (2016-06-06 22:34:39 UTC) #11
xlai (Olivia)
I replied in-line. https://codereview.chromium.org/2043833002/diff/60001/cc/ipc/surface_sequence.mojom File cc/ipc/surface_sequence.mojom (right): https://codereview.chromium.org/2043833002/diff/60001/cc/ipc/surface_sequence.mojom#newcode9 cc/ipc/surface_sequence.mojom:9: // may be depended on once. ...
4 years, 6 months ago (2016-06-07 15:17:04 UTC) #12
Tom Sepez
Ok LGTM.
4 years, 6 months ago (2016-06-07 15:27:26 UTC) #13
ajuma
https://codereview.chromium.org/2043833002/diff/60001/cc/ipc/cc_ipc.gyp File cc/ipc/cc_ipc.gyp (right): https://codereview.chromium.org/2043833002/diff/60001/cc/ipc/cc_ipc.gyp#newcode45 cc/ipc/cc_ipc.gyp:45: # 'for_blink': 'true', Should this line be un-commented (do ...
4 years, 6 months ago (2016-06-07 19:16:15 UTC) #16
xlai (Olivia)
I did some modifications to cc/ipc/cc_ipc.gyp. https://codereview.chromium.org/2043833002/diff/60001/cc/ipc/cc_ipc.gyp File cc/ipc/cc_ipc.gyp (right): https://codereview.chromium.org/2043833002/diff/60001/cc/ipc/cc_ipc.gyp#newcode45 cc/ipc/cc_ipc.gyp:45: # 'for_blink': 'true', ...
4 years, 6 months ago (2016-06-07 20:45:22 UTC) #18
ajuma
Thanks, lgtm
4 years, 6 months ago (2016-06-07 20:51:39 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043833002/100001
4 years, 6 months ago (2016-06-07 21:03:07 UTC) #22
commit-bot: I haz the power
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/83558)
4 years, 6 months ago (2016-06-07 21:52: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/2043833002/100001
4 years, 6 months ago (2016-06-08 02:20:59 UTC) #26
commit-bot: I haz the power
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/83830)
4 years, 6 months ago (2016-06-08 03:22:30 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043833002/100001
4 years, 6 months ago (2016-06-08 11:27:57 UTC) #30
commit-bot: I haz the power
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/84001)
4 years, 6 months ago (2016-06-08 12:34:54 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043833002/100001
4 years, 6 months ago (2016-06-08 14:45:34 UTC) #34
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 6 months ago (2016-06-08 16:25:44 UTC) #36
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 16:27:21 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a1eb2b0655e1cbdabed5562339f42c880343845d
Cr-Commit-Position: refs/heads/master@{#398590}

Powered by Google App Engine
This is Rietveld 408576698