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

Issue 1955493002: Move BlimpImageSerializationProcessor and WebPDecoder to //blimp/client (Closed)

Created:
4 years, 7 months ago by nyquist
Modified:
4 years, 7 months ago
Reviewers:
Kevin M
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, Khushal
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move BlimpImageSerializationProcessor and WebPDecoder to //blimp/client The ImageSerializationProcessor implementation in //blimp started off as a single implementation with an enum passed in to it according to whether it was used for serialization or deserialization. The CL https://codereview.chromium.org/1859753002 changed this to have two implementations, such that one of them would only be used for the engine and one for the client. However, the one used in the client code after this still lived in //blimp/common and maintained some of the complexity such as the enum for the mode it should be in. This CL changes this by moving the remaining class BlimpImageSerializationProcessor to //blimp/client and also renaming it accordingly to ClientImageSerializationProcessor. It also removes the extra complexity with the two different types. In addition, since it was the only part outside of client that was using the WebPDecoder, the WebPDecoder itself is now also moved to //blimp/client. Lastly, this CL removes some incorrect dependencies from the engine code, and cleans up the GN build targets related to this change. BUG=597811 Committed: https://crrev.com/60578afb06436fb73badef7b66d5d699f9623441 Cr-Commit-Position: refs/heads/master@{#391940}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed comments, moved to blimp::client namespace, renamed webp_decoder.[cc|h] according to func… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -267 lines) Patch
M blimp/client/BUILD.gn View 1 3 chunks +5 lines, -0 lines 0 comments Download
M blimp/client/feature/compositor/blimp_compositor.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_compositor_manager.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M blimp/client/feature/compositor/blimp_compositor_manager.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M blimp/client/feature/compositor/blimp_compositor_unittest.cc View 1 3 chunks +3 lines, -6 lines 0 comments Download
A blimp/client/feature/compositor/blimp_image_decoder.h View 1 1 chunk +23 lines, -0 lines 0 comments Download
A + blimp/client/feature/compositor/blimp_image_decoder.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
A blimp/client/feature/compositor/client_image_serialization_processor.h View 1 1 chunk +38 lines, -0 lines 0 comments Download
A blimp/client/feature/compositor/client_image_serialization_processor.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download
M blimp/client/feature/compositor/decoding_image_generator.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M blimp/common/BUILD.gn View 2 chunks +0 lines, -8 lines 0 comments Download
D blimp/common/compositor/blimp_image_serialization_processor.h View 1 chunk +0 lines, -43 lines 0 comments Download
D blimp/common/compositor/blimp_image_serialization_processor.cc View 1 chunk +0 lines, -36 lines 0 comments Download
D blimp/common/compositor/webp_decoder.h View 1 chunk +0 lines, -25 lines 0 comments Download
D blimp/common/compositor/webp_decoder.cc View 1 chunk +0 lines, -138 lines 0 comments Download
M blimp/engine/renderer/blimp_content_renderer_client.cc View 1 chunk +0 lines, -1 line 0 comments Download
M blimp/engine/renderer/engine_image_serialization_processor.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 23 (9 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/1955493002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955493002/1
4 years, 7 months ago (2016-05-04 23:38:33 UTC) #2
nyquist
kmarshall: PTAL khushalsagar: FYI
4 years, 7 months ago (2016-05-04 23:38:36 UTC) #4
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/65286)
4 years, 7 months ago (2016-05-05 02:16:54 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955493002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955493002/1
4 years, 7 months ago (2016-05-05 14:51:40 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-05 14:54:41 UTC) #10
Khushal
Thank you! :P
4 years, 7 months ago (2016-05-05 18:27:11 UTC) #11
Kevin M
https://codereview.chromium.org/1955493002/diff/1/blimp/client/feature/compositor/blimp_compositor.h File blimp/client/feature/compositor/blimp_compositor.h (right): https://codereview.chromium.org/1955493002/diff/1/blimp/client/feature/compositor/blimp_compositor.h#newcode37 blimp/client/feature/compositor/blimp_compositor.h:37: class ClientImageSerializationProcessor; I don't see this class referenced in ...
4 years, 7 months ago (2016-05-05 19:34:40 UTC) #12
nyquist
kmarshall: PTAL https://codereview.chromium.org/1955493002/diff/1/blimp/client/feature/compositor/blimp_compositor.h File blimp/client/feature/compositor/blimp_compositor.h (right): https://codereview.chromium.org/1955493002/diff/1/blimp/client/feature/compositor/blimp_compositor.h#newcode37 blimp/client/feature/compositor/blimp_compositor.h:37: class ClientImageSerializationProcessor; On 2016/05/05 19:34:39, Kevin M ...
4 years, 7 months ago (2016-05-05 21:26:08 UTC) #13
Kevin M
lgtm ...because my comments were basically all nits.
4 years, 7 months ago (2016-05-05 21:26:38 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955493002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955493002/20001
4 years, 7 months ago (2016-05-05 21:27:04 UTC) #16
nyquist
Oh... also done with the webp one.... sorry about that. https://codereview.chromium.org/1955493002/diff/1/blimp/client/feature/compositor/webp_decoder.h File blimp/client/feature/compositor/webp_decoder.h (right): https://codereview.chromium.org/1955493002/diff/1/blimp/client/feature/compositor/webp_decoder.h#newcode16 ...
4 years, 7 months ago (2016-05-05 21:44:41 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1955493002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1955493002/20001
4 years, 7 months ago (2016-05-05 21:45:10 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-05 23:12:50 UTC) #21
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 23:14:04 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/60578afb06436fb73badef7b66d5d699f9623441
Cr-Commit-Position: refs/heads/master@{#391940}

Powered by Google App Engine
This is Rietveld 408576698