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

Issue 10692106: Split BufferedResourceLoader's network callback into separate loading state and progress callbacks. (Closed)

Created:
8 years, 5 months ago by scherkus (not reviewing)
Modified:
8 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Split BufferedResourceLoader's network callback into separate loading state and progress callbacks. BufferedDataSource now receives buffering updates separate from loading state updates and no longer has to query the loader for what changed. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145841

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : add bug #s #

Total comments: 13

Patch Set 4 : fix comments #

Patch Set 5 : rebase #

Patch Set 6 : fix stuff #

Total comments: 7

Patch Set 7 : remove lock #

Patch Set 8 : trying again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -179 lines) Patch
M webkit/media/buffered_data_source.h View 1 2 3 4 2 chunks +5 lines, -6 lines 0 comments Download
M webkit/media/buffered_data_source.cc View 1 2 3 4 5 6 7 chunks +59 lines, -40 lines 0 comments Download
M webkit/media/buffered_data_source_unittest.cc View 1 2 3 4 5 5 chunks +18 lines, -13 lines 0 comments Download
M webkit/media/buffered_resource_loader.h View 1 2 3 4 6 chunks +19 lines, -19 lines 0 comments Download
M webkit/media/buffered_resource_loader.cc View 1 2 3 4 9 chunks +16 lines, -23 lines 0 comments Download
M webkit/media/buffered_resource_loader_unittest.cc View 1 2 3 4 29 chunks +34 lines, -78 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
scherkus (not reviewing)
8 years, 5 months ago (2012-07-06 16:22:56 UTC) #1
scherkus (not reviewing)
http://codereview.chromium.org/10692106/diff/3008/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): http://codereview.chromium.org/10692106/diff/3008/webkit/media/buffered_data_source.cc#newcode26 webkit/media/buffered_data_source.cc:26: // loading/progress related callbacks. see http://codereview.chromium.org/10692106/ -- I ended ...
8 years, 5 months ago (2012-07-06 16:28:35 UTC) #2
Ami GONE FROM CHROMIUM
LGTM++ http://codereview.chromium.org/10692106/diff/3008/webkit/media/buffered_data_source_unittest.cc File webkit/media/buffered_data_source_unittest.cc (left): http://codereview.chromium.org/10692106/diff/3008/webkit/media/buffered_data_source_unittest.cc#oldcode439 webkit/media/buffered_data_source_unittest.cc:439: EXPECT_CALL(host_, SetNetworkActivity(false)); So this is not expected to ...
8 years, 5 months ago (2012-07-09 00:25:46 UTC) #3
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10692106/diff/3008/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): http://codereview.chromium.org/10692106/diff/3008/webkit/media/buffered_data_source.cc#newcode26 webkit/media/buffered_data_source.cc:26: // loading/progress related callbacks. On 2012/07/06 16:28:35, scherkus wrote: ...
8 years, 5 months ago (2012-07-09 03:25:10 UTC) #4
scherkus (not reviewing)
http://codereview.chromium.org/10692106/diff/3008/webkit/media/buffered_data_source_unittest.cc File webkit/media/buffered_data_source_unittest.cc (left): http://codereview.chromium.org/10692106/diff/3008/webkit/media/buffered_data_source_unittest.cc#oldcode439 webkit/media/buffered_data_source_unittest.cc:439: EXPECT_CALL(host_, SetNetworkActivity(false)); On 2012/07/09 00:25:46, Ami Fischman wrote: > ...
8 years, 5 months ago (2012-07-09 18:53:30 UTC) #5
scherkus (not reviewing)
PTAL -- my source was old and rebasing led to a conflict with your DownloadingCB ...
8 years, 5 months ago (2012-07-09 20:35:47 UTC) #6
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10692106/diff/14009/webkit/media/buffered_data_source_unittest.cc File webkit/media/buffered_data_source_unittest.cc (right): http://codereview.chromium.org/10692106/diff/14009/webkit/media/buffered_data_source_unittest.cc#newcode456 webkit/media/buffered_data_source_unittest.cc:456: EXPECT_TRUE(data_source_->downloading()); This change seems wrong. Why are we still ...
8 years, 5 months ago (2012-07-10 02:40:14 UTC) #7
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10692106/diff/14009/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): http://codereview.chromium.org/10692106/diff/14009/webkit/media/buffered_data_source.cc#newcode593 webkit/media/buffered_data_source.cc:593: downloading_cb_.Run(is_downloading_data); This is now run under lock, where it ...
8 years, 5 months ago (2012-07-10 02:43:53 UTC) #8
scherkus (not reviewing)
http://codereview.chromium.org/10692106/diff/14009/webkit/media/buffered_data_source_unittest.cc File webkit/media/buffered_data_source_unittest.cc (right): http://codereview.chromium.org/10692106/diff/14009/webkit/media/buffered_data_source_unittest.cc#newcode456 webkit/media/buffered_data_source_unittest.cc:456: EXPECT_TRUE(data_source_->downloading()); On 2012/07/10 02:40:14, Ami Fischman wrote: > On ...
8 years, 5 months ago (2012-07-10 03:22:19 UTC) #9
Ami GONE FROM CHROMIUM
LGTM Right - I think it's fine to not notify anyone about anything while no ...
8 years, 5 months ago (2012-07-10 03:26:28 UTC) #10
ivan_cobs.com.sg
Pls remove the following email adds from your list NOW ivan@cobs.com.sg lynn@cobs.com.sg -----Original Message----- From: ...
8 years, 5 months ago (2012-07-10 03:46:39 UTC) #11
scherkus (not reviewing)
http://codereview.chromium.org/10692106/diff/14009/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): http://codereview.chromium.org/10692106/diff/14009/webkit/media/buffered_data_source.cc#newcode593 webkit/media/buffered_data_source.cc:593: downloading_cb_.Run(is_downloading_data); On 2012/07/10 02:43:53, Ami Fischman wrote: > This ...
8 years, 5 months ago (2012-07-10 04:10:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/10692106/15004
8 years, 5 months ago (2012-07-10 04:11:37 UTC) #13
commit-bot: I haz the power
8 years, 5 months ago (2012-07-10 05:17:26 UTC) #14
Change committed as 145841

Powered by Google App Engine
This is Rietveld 408576698