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

Issue 2942743002: [cast_channel] Clean up CastSocketImpl ctor parameters (Closed)

Created:
3 years, 6 months ago by zhaobin
Modified:
3 years, 6 months ago
Reviewers:
mark a. foltz, imcheng
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, mfoltz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[cast_channel] Clean up CastSocketImpl ctor parameters and ChannelAuthType usage - Remove |owner_extension_id| (not used anymore) and |channel_auth| (should always be SSL_VERIFIED) from CastSocketImpl's ctor - Remove ChannelAuthType from cast_channel_enum.h and clean up its usage thoughout the code BUG=732669 Review-Url: https://codereview.chromium.org/2942743002 Cr-Commit-Position: refs/heads/master@{#479807} Committed: https://chromium.googlesource.com/chromium/src/+/ebd6f8fd664d851ccc571bbd80ec0767d4bc40a8

Patch Set 1 #

Total comments: 10

Patch Set 2 : resolve code review comments from Derek and Mark #

Patch Set 3 : rebase with master #

Patch Set 4 : fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -144 lines) Patch
M components/cast_channel/cast_channel_enum.h View 1 2 2 chunks +0 lines, -7 lines 0 comments Download
M components/cast_channel/cast_channel_enum.cc View 1 1 chunk +0 lines, -10 lines 0 comments Download
M components/cast_channel/cast_socket.h View 1 2 6 chunks +3 lines, -22 lines 0 comments Download
M components/cast_channel/cast_socket.cc View 1 2 6 chunks +6 lines, -23 lines 0 comments Download
M components/cast_channel/cast_socket_unittest.cc View 1 2 2 chunks +4 lines, -12 lines 0 comments Download
M components/cast_channel/cast_test_util.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/cast_channel/cast_transport.h View 1 2 3 chunks +0 lines, -5 lines 0 comments Download
M components/cast_channel/cast_transport.cc View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M components/cast_channel/cast_transport_unittest.cc View 1 2 2 chunks +1 line, -6 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_api.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_api.cc View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_apitest.cc View 1 2 2 chunks +0 lines, -3 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_enum_util.h View 1 1 chunk +0 lines, -4 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_enum_util.cc View 1 1 chunk +0 lines, -25 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_enum_util_unittest.cc View 1 2 3 1 chunk +0 lines, -14 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
zhaobin
3 years, 6 months ago (2017-06-14 20:35:30 UTC) #2
imcheng
lgtm https://codereview.chromium.org/2942743002/diff/1/components/cast_channel/cast_socket.cc File components/cast_channel/cast_socket.cc (right): https://codereview.chromium.org/2942743002/diff/1/components/cast_channel/cast_socket.cc#newcode115 components/cast_channel/cast_socket.cc:115: channel_auth_(ChannelAuthType::SSL_VERIFIED), Can we remove this field and just ...
3 years, 6 months ago (2017-06-14 22:25:34 UTC) #7
mark a. foltz
It should be possible to remove the channel_auth_type_ field and ChannelAuthType internal enum as well, ...
3 years, 6 months ago (2017-06-14 22:33:21 UTC) #8
mark a. foltz
lgtm
3 years, 6 months ago (2017-06-14 22:33:30 UTC) #9
zhaobin
https://codereview.chromium.org/2942743002/diff/1/components/cast_channel/cast_socket.cc File components/cast_channel/cast_socket.cc (right): https://codereview.chromium.org/2942743002/diff/1/components/cast_channel/cast_socket.cc#newcode115 components/cast_channel/cast_socket.cc:115: channel_auth_(ChannelAuthType::SSL_VERIFIED), On 2017/06/14 22:25:34, imcheng wrote: > Can we ...
3 years, 6 months ago (2017-06-15 02:22:22 UTC) #12
mark a. foltz
lgtm Looks Great To Me. Thanks for deleting more code! It looks like you'll have ...
3 years, 6 months ago (2017-06-15 17:19:01 UTC) #15
mark a. foltz
On 2017/06/15 at 17:19:01, mark a. foltz wrote: > lgtm > > Looks Great To ...
3 years, 6 months ago (2017-06-15 17:19:45 UTC) #16
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/2942743002/60001
3 years, 6 months ago (2017-06-15 20:12:36 UTC) #28
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 20:19:42 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ebd6f8fd664d851ccc571bbd80ec...

Powered by Google App Engine
This is Rietveld 408576698