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

Issue 566243005: Cast: Allow extension to control wifi options on windows (Closed)

Created:
6 years, 3 months ago by hubbe
Modified:
6 years, 3 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, pwestin+watch_google.com, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, gavinp+memory_chromium.org, cbentzel+watch_chromium.org, miu+watch_chromium.org, feature-media-reviews_chromium.org, erikwright+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cast: Allow extension to control wifi options on windows This allows the cast extension to turn off wifi scan while streaming is in progress, and also set the "media streaming mode" further experimentation is need to see if these options are actually useful. BUG=410500 Committed: https://crrev.com/693959c4726d968b0396345918a84bc284aea510 Cr-Commit-Position: refs/heads/master@{#296253}

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments addressed #

Patch Set 3 : posix fix #

Patch Set 4 : posix fixed again #

Total comments: 16

Patch Set 5 : added tests #

Patch Set 6 : bugfix #

Patch Set 7 : less base #

Total comments: 14

Patch Set 8 : bitified #

Patch Set 9 : (most) comments addressed #

Patch Set 10 : test improved #

Patch Set 11 : posix fix #

Patch Set 12 : add missing NET_EXPORT #

Total comments: 18

Patch Set 13 : comments addressed #

Patch Set 14 : comments addressed #

Total comments: 4

Patch Set 15 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -88 lines) Patch
M media/cast/net/cast_transport_sender_impl.h View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M media/cast/net/cast_transport_sender_impl.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M media/cast/net/cast_transport_sender_impl_unittest.cc View 1 2 3 4 3 chunks +28 lines, -0 lines 0 comments Download
M net/base/net_util.h View 1 2 3 4 5 6 7 8 9 1 chunk +22 lines, -0 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M net/base/net_util_posix.cc View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +109 lines, -0 lines 0 comments Download
A net/base/net_util_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +85 lines, -0 lines 0 comments Download
M net/base/net_util_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +97 lines, -87 lines 0 comments Download

Messages

Total messages: 31 (4 generated)
hubbe
6 years, 3 months ago (2014-09-15 18:20:20 UTC) #2
Alpha Left Google
Please add a base/ review to review the introduction of LifetimeInterface. https://codereview.chromium.org/566243005/diff/1/media/cast/net/cast_transport_sender_impl.cc File media/cast/net/cast_transport_sender_impl.cc (right): ...
6 years, 3 months ago (2014-09-15 20:12:29 UTC) #3
hubbe
https://codereview.chromium.org/566243005/diff/1/media/cast/net/cast_transport_sender_impl.cc File media/cast/net/cast_transport_sender_impl.cc (right): https://codereview.chromium.org/566243005/diff/1/media/cast/net/cast_transport_sender_impl.cc#newcode90 media/cast/net/cast_transport_sender_impl.cc:90: if (options->HasKey("DISABLE_WIFI_SCAN")) { On 2014/09/15 20:12:29, Alpha wrote: > ...
6 years, 3 months ago (2014-09-15 23:11:49 UTC) #4
hubbe
+ pauljensen for net/base/* + ajwong for base/memory/*
6 years, 3 months ago (2014-09-15 23:28:16 UTC) #6
pauljensen
1. This fails to build. 2. This needs a test. Perhaps set the innocuous looking ...
6 years, 3 months ago (2014-09-16 15:01:18 UTC) #7
hubbe
1. Should hopefully compile now (trybots are slow, but I will of course make sure ...
6 years, 3 months ago (2014-09-16 21:06:51 UTC) #8
awong
This is an extremely generic interface that effectively creating a void*. I'm not sure why ...
6 years, 3 months ago (2014-09-16 21:51:57 UTC) #9
chromium-reviews
As I wrote the code, I noticed that I was re-creating a class that I've ...
6 years, 3 months ago (2014-09-16 23:22:31 UTC) #10
awong
I actually think a new base class makes more sense. Ignore the void* comment. Functionally, ...
6 years, 3 months ago (2014-09-16 23:27:53 UTC) #11
hubbe
-ajwong pauljensen: ping?
6 years, 3 months ago (2014-09-17 22:58:38 UTC) #13
Alpha Left Google
media/cast LGTM.
6 years, 3 months ago (2014-09-17 23:47:31 UTC) #14
pauljensen
https://codereview.chromium.org/566243005/diff/120001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/566243005/diff/120001/net/base/net_util.h#newcode511 net/base/net_util.h:511: }; private: DISALLOW_COPY_AND_ASSIGN(ScopedWifiOptions); https://codereview.chromium.org/566243005/diff/120001/net/base/net_util_unittest.cc File net/base/net_util_unittest.cc (right): https://codereview.chromium.org/566243005/diff/120001/net/base/net_util_unittest.cc#newcode799 net/base/net_util_unittest.cc:799: ...
6 years, 3 months ago (2014-09-18 14:16:51 UTC) #15
pauljensen
https://codereview.chromium.org/566243005/diff/120001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/566243005/diff/120001/net/base/net_util.h#newcode506 net/base/net_util.h:506: }; Since these should be ORed together, I suggest: ...
6 years, 3 months ago (2014-09-18 14:25:35 UTC) #16
hubbe
https://codereview.chromium.org/566243005/diff/120001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/566243005/diff/120001/net/base/net_util.h#newcode506 net/base/net_util.h:506: }; On 2014/09/18 14:25:35, pauljensen wrote: > Since these ...
6 years, 3 months ago (2014-09-18 18:21:06 UTC) #17
pauljensen
https://codereview.chromium.org/566243005/diff/120001/net/base/net_util_unittest.cc File net/base/net_util_unittest.cc (right): https://codereview.chromium.org/566243005/diff/120001/net/base/net_util_unittest.cc#newcode799 net/base/net_util_unittest.cc:799: WIFI_OPTIONS_MEDIA_STREAMING_MODE); On 2014/09/18 18:21:05, hubbe wrote: > It's possible, ...
6 years, 3 months ago (2014-09-18 18:40:20 UTC) #18
hubbe
Ok, tests have been improved to actually check that things are reset. I ran the ...
6 years, 3 months ago (2014-09-18 23:42:51 UTC) #19
pauljensen
Fails to build. Please get it building and I'll take another look.
6 years, 3 months ago (2014-09-19 15:05:08 UTC) #20
hubbe
On 2014/09/19 15:05:08, pauljensen wrote: > Fails to build. Please get it building and I'll ...
6 years, 3 months ago (2014-09-22 23:47:20 UTC) #21
pauljensen
This is looking pretty good. I assume you verified that in your testing that GetWifiOptions() ...
6 years, 3 months ago (2014-09-23 14:03:55 UTC) #22
hubbe
PTAL https://codereview.chromium.org/566243005/diff/220001/net/base/net_util_unittest.cc File net/base/net_util_unittest.cc (right): https://codereview.chromium.org/566243005/diff/220001/net/base/net_util_unittest.cc#newcode796 net/base/net_util_unittest.cc:796: #if OS_WIN On 2014/09/23 14:03:54, pauljensen wrote: > ...
6 years, 3 months ago (2014-09-23 17:37:50 UTC) #23
pauljensen
https://codereview.chromium.org/566243005/diff/260001/net/base/net_util_unittest.cc File net/base/net_util_unittest.cc (right): https://codereview.chromium.org/566243005/diff/260001/net/base/net_util_unittest.cc#newcode35 net/base/net_util_unittest.cc:35: using namespace net::internal; "using namespace" is strictly forbidden in ...
6 years, 3 months ago (2014-09-23 17:59:03 UTC) #24
hubbe
PTAL https://codereview.chromium.org/566243005/diff/260001/net/base/net_util_unittest.cc File net/base/net_util_unittest.cc (right): https://codereview.chromium.org/566243005/diff/260001/net/base/net_util_unittest.cc#newcode35 net/base/net_util_unittest.cc:35: using namespace net::internal; On 2014/09/23 17:59:03, pauljensen wrote: ...
6 years, 3 months ago (2014-09-23 18:06:16 UTC) #25
pauljensen
lgtm. I assume you verified that in your testing that GetWifiOptions() was returning something other ...
6 years, 3 months ago (2014-09-23 18:59:55 UTC) #26
hubbe
On 2014/09/23 18:59:55, pauljensen wrote: > lgtm. I assume you verified that in your testing ...
6 years, 3 months ago (2014-09-23 19:04:50 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/566243005/280001
6 years, 3 months ago (2014-09-23 20:31:43 UTC) #29
commit-bot: I haz the power
Committed patchset #15 (id:280001) as b3456d0d7383baac954d7a8cfe8b102c66ec5f38
6 years, 3 months ago (2014-09-23 21:26:07 UTC) #30
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 21:27:24 UTC) #31
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/693959c4726d968b0396345918a84bc284aea510
Cr-Commit-Position: refs/heads/master@{#296253}

Powered by Google App Engine
This is Rietveld 408576698