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

Issue 224093011: Move DataSourceHost to BufferedDataSourceHost. (Closed)

Created:
6 years, 8 months ago by sandersd (OOO until July 31)
Modified:
6 years, 8 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move DataSourceHost to BufferedDataSourceHost. BUG=122071 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262892

Patch Set 1 #

Total comments: 26

Patch Set 2 : Address comments. #

Patch Set 3 : Update existing tests. #

Total comments: 3

Patch Set 4 : Split time computation into BufferedDataSourceHostImpl. #

Total comments: 2

Patch Set 5 : Remove dependency on blink. #

Patch Set 6 : Fixup forward declarations. #

Patch Set 7 : Add unittest. #

Total comments: 13

Patch Set 8 : Fix comments. #

Total comments: 2

Patch Set 9 : Fix nits. #

Patch Set 10 : Style. #

Patch Set 11 : Fix clang compile. #

Patch Set 12 : Fix windows release build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -198 lines) Patch
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/buffered_data_source.h View 1 3 chunks +16 lines, -4 lines 0 comments Download
M content/renderer/media/buffered_data_source.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
A content/renderer/media/buffered_data_source_host_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +52 lines, -0 lines 0 comments Download
A content/renderer/media/buffered_data_source_host_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +56 lines, -0 lines 0 comments Download
A content/renderer/media/buffered_data_source_host_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +75 lines, -0 lines 0 comments Download
M content/renderer/media/buffered_data_source_unittest.cc View 1 2 4 chunks +15 lines, -3 lines 0 comments Download
M content/renderer/media/buffered_resource_loader.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/media/buffered_resource_loader.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +7 lines, -3 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 4 chunks +14 lines, -9 lines 0 comments Download
M media/base/data_source.h View 1 chunk +0 lines, -16 lines 0 comments Download
M media/base/data_source.cc View 1 chunk +0 lines, -2 lines 0 comments Download
D media/base/mock_data_source_host.h View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
D media/base/mock_data_source_host.cc View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
M media/base/pipeline.h View 1 4 chunks +4 lines, -16 lines 0 comments Download
M media/base/pipeline.cc View 5 chunks +1 line, -60 lines 0 comments Download
M media/base/pipeline_unittest.cc View 1 2 5 chunks +1 line, -36 lines 0 comments Download
M media/filters/file_data_source_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M media/media.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
sandersd (OOO until July 31)
Draft of the second part of this cleanup. I'm confused why didLoadingProgress() is const, as ...
6 years, 8 months ago (2014-04-03 21:23:27 UTC) #1
scherkus (not reviewing)
https://codereview.chromium.org/224093011/diff/1/content/renderer/media/buffered_data_source.cc File content/renderer/media/buffered_data_source.cc (right): https://codereview.chromium.org/224093011/diff/1/content/renderer/media/buffered_data_source.cc#newcode10 content/renderer/media/buffered_data_source.cc:10: #include "content/public/common/url_constants.h" is this because you removed the kHttpScheme ...
6 years, 8 months ago (2014-04-03 21:59:37 UTC) #2
sandersd (OOO until July 31)
Addressed comments and updated existing tests. Still need to write tests for WMPI. https://codereview.chromium.org/224093011/diff/1/content/renderer/media/buffered_data_source.cc File ...
6 years, 8 months ago (2014-04-04 23:48:41 UTC) #3
scherkus (not reviewing)
nits re: WMPI test ... you might be able to get away with creating a ...
6 years, 8 months ago (2014-04-05 00:00:02 UTC) #4
scherkus (not reviewing)
https://codereview.chromium.org/224093011/diff/60001/content/renderer/media/buffered_data_source_host_impl.cc File content/renderer/media/buffered_data_source_host_impl.cc (right): https://codereview.chromium.org/224093011/diff/60001/content/renderer/media/buffered_data_source_host_impl.cc#newcode9 content/renderer/media/buffered_data_source_host_impl.cc:9: BufferedDataSourceHostImpl(media::Pipeline pipeline) : pipeline_(pipeline); we should try to minimize ...
6 years, 8 months ago (2014-04-07 22:03:24 UTC) #5
sandersd (OOO until July 31)
https://codereview.chromium.org/224093011/diff/60001/content/renderer/media/buffered_data_source_host_impl.cc File content/renderer/media/buffered_data_source_host_impl.cc (right): https://codereview.chromium.org/224093011/diff/60001/content/renderer/media/buffered_data_source_host_impl.cc#newcode9 content/renderer/media/buffered_data_source_host_impl.cc:9: BufferedDataSourceHostImpl(media::Pipeline pipeline) : pipeline_(pipeline); On 2014/04/07 22:03:25, scherkus wrote: ...
6 years, 8 months ago (2014-04-07 23:46:42 UTC) #6
scherkus (not reviewing)
https://codereview.chromium.org/224093011/diff/120001/content/renderer/media/buffered_data_source_host_impl.cc File content/renderer/media/buffered_data_source_host_impl.cc (right): https://codereview.chromium.org/224093011/diff/120001/content/renderer/media/buffered_data_source_host_impl.cc#newcode1 content/renderer/media/buffered_data_source_host_impl.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 8 months ago (2014-04-08 04:36:17 UTC) #7
sandersd (OOO until July 31)
https://codereview.chromium.org/224093011/diff/120001/content/renderer/media/buffered_data_source_host_impl.cc File content/renderer/media/buffered_data_source_host_impl.cc (right): https://codereview.chromium.org/224093011/diff/120001/content/renderer/media/buffered_data_source_host_impl.cc#newcode1 content/renderer/media/buffered_data_source_host_impl.cc:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 8 months ago (2014-04-08 22:42:13 UTC) #8
scherkus (not reviewing)
lgtm w/ nits https://codereview.chromium.org/224093011/diff/130001/content/renderer/media/buffered_data_source_host_impl.cc File content/renderer/media/buffered_data_source_host_impl.cc (right): https://codereview.chromium.org/224093011/diff/130001/content/renderer/media/buffered_data_source_host_impl.cc#newcode11 content/renderer/media/buffered_data_source_host_impl.cc:11: did_loading_progress_(0) { s/0/false/ seeing as it's ...
6 years, 8 months ago (2014-04-08 22:45:21 UTC) #9
sandersd (OOO until July 31)
6 years, 8 months ago (2014-04-08 22:57:08 UTC) #10
sandersd (OOO until July 31)
The CQ bit was checked by sandersd@chromium.org
6 years, 8 months ago (2014-04-09 18:02:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sandersd@chromium.org/224093011/170001
6 years, 8 months ago (2014-04-09 18:02:50 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-09 19:13:19 UTC) #13
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=169555
6 years, 8 months ago (2014-04-09 19:13:19 UTC) #14
sandersd (OOO until July 31)
The CQ bit was checked by sandersd@chromium.org
6 years, 8 months ago (2014-04-09 20:15:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sandersd@chromium.org/224093011/190001
6 years, 8 months ago (2014-04-09 20:15:56 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-09 22:33:49 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests, chrome_elf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=92986
6 years, 8 months ago (2014-04-09 22:33:50 UTC) #18
sandersd (OOO until July 31)
The CQ bit was checked by sandersd@chromium.org
6 years, 8 months ago (2014-04-09 22:39:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sandersd@chromium.org/224093011/210001
6 years, 8 months ago (2014-04-09 22:40:26 UTC) #20
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 01:45:48 UTC) #21
Message was sent while issue was closed.
Change committed as 262892

Powered by Google App Engine
This is Rietveld 408576698