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

Unified Diff: media/blink/buffered_data_source.h

Issue 1777153002: Improve retry support for media network loading. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed, tests updated Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/blink/buffered_data_source.cc » ('j') | media/blink/buffered_data_source_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/buffered_data_source.h
diff --git a/media/blink/buffered_data_source.h b/media/blink/buffered_data_source.h
index 17b7507bd93133d8bdbd2d42441da644132ca466..ff2c55deca54524009abc7398b493bb2e1e4cb0a 100644
--- a/media/blink/buffered_data_source.h
+++ b/media/blink/buffered_data_source.h
@@ -122,6 +122,8 @@ class BufferedDataSourceInterface : public DataSource {
class MEDIA_BLINK_EXPORT BufferedDataSource
: NON_EXPORTED_BASE(public BufferedDataSourceInterface) {
public:
+ // Number of times we retry before erroring out.
DaleCurtis 2016/03/11 16:36:32 Static const on an interface is odd. Enum is prefe
hubbe 2016/03/11 18:15:55 This is not an interface, but regardless, enums pr
+ static const int kLoaderRetries;
typedef base::Callback<void(bool)> DownloadingCB;
// |url| and |cors_mode| are passed to the object. Buffered byte range changes
« no previous file with comments | « no previous file | media/blink/buffered_data_source.cc » ('j') | media/blink/buffered_data_source_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698