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

Issue 807723004: Cast audio only policy enforcement support. (Closed)

Created:
5 years, 11 months ago by vadimgo
Modified:
5 years, 11 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cast audio only policy enforcement support. BUG=447734 Committed: https://crrev.com/9d82cf614ff2b069f1094a394eaf750600ea4cc2 Cr-Commit-Position: refs/heads/master@{#311415}

Patch Set 1 #

Patch Set 2 : Moved kAudioOnlyPolicy contant closed to other consts. #

Patch Set 3 : Fixed channel browser_tests #

Patch Set 4 : Check audio only policy against client auth certificate part of the response #

Total comments: 17

Patch Set 5 : Code review changes #

Total comments: 8

Patch Set 6 : Code review changes #

Patch Set 7 : Cast socket policy verification unit tests #

Patch Set 8 : Corrected unit test comment. #

Total comments: 4

Patch Set 9 : Rebased + code review feedback #

Patch Set 10 : Fixed windows compiler warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -11 lines) Patch
M extensions/browser/api/cast_channel/cast_auth_util.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_auth_util.cc View 1 2 3 4 5 6 7 8 9 3 chunks +11 lines, -2 lines 0 comments Download
M extensions/browser/api/cast_channel/cast_channel_api.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M extensions/browser/api/cast_channel/cast_socket.h View 1 2 3 4 5 6 4 chunks +20 lines, -1 line 0 comments Download
M extensions/browser/api/cast_channel/cast_socket.cc View 1 2 3 4 5 6 7 8 3 chunks +17 lines, -1 line 0 comments Download
M extensions/browser/api/cast_channel/cast_socket_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +40 lines, -6 lines 0 comments Download
M extensions/common/api/cast_channel.idl View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/common/api/cast_channel/logging.proto View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
vadimgo
5 years, 11 months ago (2015-01-09 21:26:36 UTC) #2
mark a. foltz
Kevin should take a look as he's been in the code most recently. Most of ...
5 years, 11 months ago (2015-01-12 22:01:57 UTC) #5
vadimgo
Please take another look. https://codereview.chromium.org/807723004/diff/60001/extensions/browser/api/cast_channel/cast_auth_util.h File extensions/browser/api/cast_channel/cast_auth_util.h (right): https://codereview.chromium.org/807723004/diff/60001/extensions/browser/api/cast_channel/cast_auth_util.h#newcode49 extensions/browser/api/cast_channel/cast_auth_util.h:49: std::string client_auth_certificate; On 2015/01/12 22:01:56, ...
5 years, 11 months ago (2015-01-13 00:08:28 UTC) #6
mark a. foltz
Looks good modulo a few comments. Also did the unit tests get dropped from the ...
5 years, 11 months ago (2015-01-13 01:42:20 UTC) #7
vadimgo
Please take another look. https://codereview.chromium.org/807723004/diff/80001/extensions/browser/api/cast_channel/cast_auth_util.h File extensions/browser/api/cast_channel/cast_auth_util.h (right): https://codereview.chromium.org/807723004/diff/80001/extensions/browser/api/cast_channel/cast_auth_util.h#newcode36 extensions/browser/api/cast_channel/cast_auth_util.h:36: enum PolicyType { POLICY_NONE = ...
5 years, 11 months ago (2015-01-13 02:21:45 UTC) #8
mark a. foltz
lgtm I do recommend a unit test for the negative case as well so that ...
5 years, 11 months ago (2015-01-13 21:06:37 UTC) #9
vadimgo
+rockot for changes in extensions/common/api/cast_channel.idl extensions/common/api/cast_channel/logging.proto
5 years, 11 months ago (2015-01-13 21:49:24 UTC) #11
Ken Rockot(use gerrit already)
said files lgtm
5 years, 11 months ago (2015-01-13 21:51:35 UTC) #12
vadimgo
Mark, I added two unit tests - TestChannelPolicyVerificationCapabilitiesNone and TestChannelPolicyVerificationCapabilitiesVideoOut. Could you please take another ...
5 years, 11 months ago (2015-01-13 22:24:17 UTC) #13
mark a. foltz
lgtm
5 years, 11 months ago (2015-01-13 23:03:25 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/807723004/140001
5 years, 11 months ago (2015-01-13 23:29:03 UTC) #16
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No LGTM from ...
5 years, 11 months ago (2015-01-13 23:29:06 UTC) #18
Kevin M
lgtm https://codereview.chromium.org/807723004/diff/140001/extensions/browser/api/cast_channel/cast_auth_util.h File extensions/browser/api/cast_channel/cast_auth_util.h (right): https://codereview.chromium.org/807723004/diff/140001/extensions/browser/api/cast_channel/cast_auth_util.h#newcode53 extensions/browser/api/cast_channel/cast_auth_util.h:53: unsigned int channel_policy; Policies, since there can be ...
5 years, 11 months ago (2015-01-14 00:26:16 UTC) #19
vadimgo
https://codereview.chromium.org/807723004/diff/140001/extensions/browser/api/cast_channel/cast_auth_util.h File extensions/browser/api/cast_channel/cast_auth_util.h (right): https://codereview.chromium.org/807723004/diff/140001/extensions/browser/api/cast_channel/cast_auth_util.h#newcode53 extensions/browser/api/cast_channel/cast_auth_util.h:53: unsigned int channel_policy; On 2015/01/14 00:26:16, Kevin M wrote: ...
5 years, 11 months ago (2015-01-14 01:16:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/807723004/160001
5 years, 11 months ago (2015-01-14 01:17:06 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/16098)
5 years, 11 months ago (2015-01-14 02:15:34 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/807723004/180001
5 years, 11 months ago (2015-01-14 04:40:34 UTC) #26
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 11 months ago (2015-01-14 05:38:34 UTC) #27
commit-bot: I haz the power
5 years, 11 months ago (2015-01-14 05:39:28 UTC) #28
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/9d82cf614ff2b069f1094a394eaf750600ea4cc2
Cr-Commit-Position: refs/heads/master@{#311415}

Powered by Google App Engine
This is Rietveld 408576698