Index: media/blink/buffered_data_source.h |
diff --git a/media/blink/buffered_data_source.h b/media/blink/buffered_data_source.h |
index 32f14816fcdce5a3307fb8a898c965d67f2b2c7d..9a4f19d6b60748dfa0986e9ce70d37bdcaa1363c 100644 |
--- a/media/blink/buffered_data_source.h |
+++ b/media/blink/buffered_data_source.h |
@@ -238,6 +238,12 @@ class MEDIA_EXPORT BufferedDataSource : public DataSource { |
DownloadingCB downloading_cb_; |
+ // The original URL of the first response. If the response is generated in a |
+ // Service Worker this URL is empty. BufferedDataSource checks the original |
+ // URL of each successive response. If it is different from the original URL |
+ // of the first response, it is treated as an error. |
+ GURL response_original_url_; |
+ |
// Disallow rebinding WeakReference ownership to a different thread by keeping |
// a persistent reference. This avoids problems with the thread-safety of |
// reaching into this class from multiple threads to attain a WeakPtr. |