Index: media/blink/cache_util.h |
diff --git a/media/blink/cache_util.h b/media/blink/cache_util.h |
index 5c59f14e74234adfd15a25010bf16195e87f695d..128f93a940fea9aa8ee2485f5f447d8c4bb770ea 100644 |
--- a/media/blink/cache_util.h |
+++ b/media/blink/cache_util.h |
@@ -8,7 +8,8 @@ |
#include <vector> |
#include "base/basictypes.h" |
-#include "media/base/media_export.h" |
+#include "base/time/time.h" |
+#include "media/blink/media_blink_export.h" |
namespace blink { |
class WebURLResponse; |
@@ -33,8 +34,14 @@ enum UncacheableReason { |
// Return the logical OR of the reasons "response" cannot be used for a future |
// request (using the disk cache), or 0 if it might be useful. |
-uint32 MEDIA_EXPORT GetReasonsForUncacheability( |
- const blink::WebURLResponse& response); |
+uint32 MEDIA_BLINK_EXPORT |
+GetReasonsForUncacheability(const blink::WebURLResponse& response); |
+ |
+// Returns when we should evict data from this response from our |
+// memory cache. Note that we may still cache data longer if |
+// a audio/video tag is currently using it. |
+base::TimeTicks MEDIA_BLINK_EXPORT |
+GetMemoryCacheValidUntil(const blink::WebURLResponse& response); |
} // namespace media |