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

Issue 2891293002: Convert CastTransportHostFilter to be client of wake lock service. (Closed)

Created:
3 years, 7 months ago by ke.he
Modified:
3 years, 6 months ago
CC:
avayvod+watch_chromium.org, chromium-reviews, feature-media-reviews_chromium.org, imcheng+watch_chromium.org, isheriff+watch_chromium.org, jasonroberts+watch_google.com, mfoltz+watch_chromium.org, miu+watch_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert CastTransportHostFilter to be client of wake lock service. Wake Lock is a Mojo interface that wraps PowerSaveBlocker. As part of the creation of standalone Device Service, all browser-side clients of PowerSaveBlocker should be converted to be clients of the Wake Lock Mojo interface instead. BUG=689415 Review-Url: https://codereview.chromium.org/2891293002 Cr-Commit-Position: refs/heads/master@{#476172} Committed: https://chromium.googlesource.com/chromium/src/+/b4fe4703234db95a75f7b94d1e97044d38488156

Patch Set 1 #

Total comments: 5

Patch Set 2 : Convert CastTransportHostFilter to be client of wake lock service. #

Patch Set 3 : code rebaes #

Total comments: 2

Patch Set 4 : Uses BindConnectorRequest instead of ServiceManagerContext. #

Patch Set 5 : Uses BindConnectorRequest instead of ServiceManagerContext. #

Total comments: 10

Patch Set 6 : Addressed Ken's review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -23 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/DEPS View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/media/cast_transport_host_filter.h View 1 2 3 4 5 2 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/media/cast_transport_host_filter.cc View 1 2 3 4 5 5 chunks +49 lines, -14 lines 0 comments Download

Messages

Total messages: 62 (43 generated)
ke.he
Hi, Sergey, PTAL, thanks. https://codereview.chromium.org/2891293002/diff/1/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/2891293002/diff/1/chrome/browser/media/cast_transport_host_filter.cc#newcode398 chrome/browser/media/cast_transport_host_filter.cc:398: DCHECK_CURRENTLY_ON(content::BrowserThread::IO); It must runs on ...
3 years, 7 months ago (2017-05-19 11:05:16 UTC) #8
Sergey Ulanov
Looks mostly good, but I'm not familiar with this file. +hubbe@ for the second pair ...
3 years, 7 months ago (2017-05-19 19:34:11 UTC) #12
ke.he
Hi, Sergey, Thanks! Sorry to reply your comments lately. https://codereview.chromium.org/2891293002/diff/1/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/2891293002/diff/1/chrome/browser/media/cast_transport_host_filter.cc#newcode159 chrome/browser/media/cast_transport_host_filter.cc:159: ...
3 years, 7 months ago (2017-05-24 05:43:08 UTC) #13
Sergey Ulanov
https://codereview.chromium.org/2891293002/diff/1/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/2891293002/diff/1/chrome/browser/media/cast_transport_host_filter.cc#newcode159 chrome/browser/media/cast_transport_host_filter.cc:159: has_wake_lock_ = true; On 2017/05/24 05:43:08, ke.he wrote: > ...
3 years, 7 months ago (2017-05-24 19:17:48 UTC) #14
ke.he
Thanks! PTAL. https://codereview.chromium.org/2891293002/diff/1/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/2891293002/diff/1/chrome/browser/media/cast_transport_host_filter.cc#newcode159 chrome/browser/media/cast_transport_host_filter.cc:159: has_wake_lock_ = true; On 2017/05/24 19:17:48, Sergey ...
3 years, 7 months ago (2017-05-26 02:55:51 UTC) #27
Sergey Ulanov
lgtm
3 years, 7 months ago (2017-05-26 05:39:03 UTC) #28
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/2891293002/40001
3 years, 7 months ago (2017-05-26 05:57:38 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/448478)
3 years, 7 months ago (2017-05-26 06:07:33 UTC) #32
ke.he
Hi, Ken, PTAL on //chrome/browser/media/DEPS. Thanks!
3 years, 7 months ago (2017-05-27 03:23:39 UTC) #34
Ken Rockot(use gerrit already)
DEPS LGTM for device-related additions. Will need a content owner too
3 years, 7 months ago (2017-05-27 05:23:32 UTC) #35
Ken Rockot(use gerrit already)
Wait, not LGTM. I didn't pay close enough attention. No, you cannot include stuff from ...
3 years, 7 months ago (2017-05-27 05:24:14 UTC) #36
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2891293002/diff/40001/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/2891293002/diff/40001/chrome/browser/media/cast_transport_host_filter.cc#newcode397 chrome/browser/media/cast_transport_host_filter.cc:397: service_manager::Connector* connector = You don't need to use ...
3 years, 7 months ago (2017-05-27 05:27:26 UTC) #37
Ken Rockot(use gerrit already)
On 2017/05/27 at 05:27:26, Ken Rockot(use gerrit already) wrote: > lgtm > > https://codereview.chromium.org/2891293002/diff/40001/chrome/browser/media/cast_transport_host_filter.cc > ...
3 years, 7 months ago (2017-05-27 05:28:09 UTC) #38
ke.he
Ken and Sergey, Thanks very much! PTAL again:) https://codereview.chromium.org/2891293002/diff/40001/chrome/browser/media/cast_transport_host_filter.cc File chrome/browser/media/cast_transport_host_filter.cc (right): https://codereview.chromium.org/2891293002/diff/40001/chrome/browser/media/cast_transport_host_filter.cc#newcode397 chrome/browser/media/cast_transport_host_filter.cc:397: service_manager::Connector* ...
3 years, 6 months ago (2017-05-31 11:12:03 UTC) #49
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2891293002/diff/120001/chrome/browser/media/DEPS File chrome/browser/media/DEPS (right): https://codereview.chromium.org/2891293002/diff/120001/chrome/browser/media/DEPS#newcode2 chrome/browser/media/DEPS:2: "+content/public/common/service_manager_connection.h", this is not necessary - src/chrome already has ...
3 years, 6 months ago (2017-05-31 11:50:50 UTC) #50
ke.he
Ken, Thanks very much. PTAL:) https://codereview.chromium.org/2891293002/diff/120001/chrome/browser/media/DEPS File chrome/browser/media/DEPS (right): https://codereview.chromium.org/2891293002/diff/120001/chrome/browser/media/DEPS#newcode2 chrome/browser/media/DEPS:2: "+content/public/common/service_manager_connection.h", On 2017/05/31 11:50:49, ...
3 years, 6 months ago (2017-05-31 12:45:10 UTC) #53
Ken Rockot(use gerrit already)
lgtm
3 years, 6 months ago (2017-05-31 14:57:29 UTC) #56
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/2891293002/140001
3 years, 6 months ago (2017-06-01 03:23:13 UTC) #59
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 03:28:13 UTC) #62
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/b4fe4703234db95a75f7b94d1e97...

Powered by Google App Engine
This is Rietveld 408576698