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

Unified Diff: media/blink/resource_multibuffer_data_provider.h

Issue 2979893002: media: Allow suspend on HTTP 200 videos (Closed)
Patch Set: layout test fix Created 3 years, 5 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 | « media/blink/multibuffer_data_source_unittest.cc ('k') | media/blink/resource_multibuffer_data_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/resource_multibuffer_data_provider.h
diff --git a/media/blink/resource_multibuffer_data_provider.h b/media/blink/resource_multibuffer_data_provider.h
index 25f643c9155621f00c616060ae4568f23660590a..e3ed536acb5b041bdf6d1d2943f9181276476c3b 100644
--- a/media/blink/resource_multibuffer_data_provider.h
+++ b/media/blink/resource_multibuffer_data_provider.h
@@ -119,6 +119,10 @@ class MEDIA_BLINK_EXPORT ResourceMultiBufferDataProvider
// When we encounter a redirect, this is the source of the redirect.
GURL redirects_to_;
+ // If the server tries to gives us more bytes than we want, this how
+ // many bytes we need to discard before we get to the right place.
+ uint64_t bytes_to_discard_ = 0;
+
base::WeakPtrFactory<ResourceMultiBufferDataProvider> weak_factory_;
};
« no previous file with comments | « media/blink/multibuffer_data_source_unittest.cc ('k') | media/blink/resource_multibuffer_data_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698