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

Issue 306953005: Changing constructor of BufferedDataSource to accept GURL and CORSMode (Closed)

Created:
6 years, 6 months ago by amogh.bihani
Modified:
6 years, 6 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

Changing constructor of BufferedDataSource to accept GURL and CORSMode BufferedDataSource should accept the 'url' and the 'CORS mode' parameters in the constructor instead via the initialize() method. This patch makes this change and now only the 'initializeCallBack' is passed to initialize() method. Also now the WebMediaPlayerImpl directly queries the BufferedDataSource whether the resource is local or not, instead of finding it out itself. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274513

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing comments, cleaning up WMPI #

Patch Set 3 : Correcting comments #

Total comments: 1

Patch Set 4 : removing inline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -55 lines) Patch
M content/renderer/media/buffered_data_source.h View 1 2 3 3 chunks +11 lines, -13 lines 0 comments Download
M content/renderer/media/buffered_data_source.cc View 1 7 chunks +13 lines, -16 lines 0 comments Download
M content/renderer/media/buffered_data_source_unittest.cc View 1 3 chunks +17 lines, -14 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 4 chunks +6 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
amogh.bihani
This is in accordance to what we discussed in https://codereview.chromium.org/302553006/#msg5. PTAL.
6 years, 6 months ago (2014-05-30 09:32:44 UTC) #1
scherkus (not reviewing)
thanks for tackling this! I've got some suggestions on other cleanup this CL should include ...
6 years, 6 months ago (2014-05-30 20:45:14 UTC) #2
amogh.bihani
Thanks for the review. :) I have made the changes, PTAL. https://codereview.chromium.org/306953005/diff/1/content/renderer/media/buffered_data_source.cc File content/renderer/media/buffered_data_source.cc (right): ...
6 years, 6 months ago (2014-06-02 06:11:01 UTC) #3
scherkus (not reviewing)
lgtm w/ nit https://codereview.chromium.org/306953005/diff/40001/content/renderer/media/buffered_data_source.h File content/renderer/media/buffered_data_source.h (right): https://codereview.chromium.org/306953005/diff/40001/content/renderer/media/buffered_data_source.h#newcode97 content/renderer/media/buffered_data_source.h:97: inline bool assume_fully_buffered() { return !url_.SchemeIsHTTPOrHTTPS(); ...
6 years, 6 months ago (2014-06-02 20:11:23 UTC) #4
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 6 months ago (2014-06-03 09:10:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/306953005/50001
6 years, 6 months ago (2014-06-03 09:11:50 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device on tryserver.chromium ...
6 years, 6 months ago (2014-06-03 10:49:57 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 13:43:49 UTC) #8
Message was sent while issue was closed.
Change committed as 274513

Powered by Google App Engine
This is Rietveld 408576698