| Index: media/blink/cache_util.h
|
| diff --git a/media/blink/cache_util.h b/media/blink/cache_util.h
|
| index 033b6bdd069ef332925c54cac6b90a166b697899..8dd2a19bca7fec11a0a97975c3cf9d4e5d02b3d4 100644
|
| --- a/media/blink/cache_util.h
|
| +++ b/media/blink/cache_util.h
|
| @@ -8,6 +8,7 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/time/time.h"
|
| #include "media/blink/media_blink_export.h"
|
|
|
| namespace blink {
|
| @@ -36,6 +37,13 @@ enum UncacheableReason {
|
| 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. Returns a TimeDelta
|
| +// which is should be added to base::Time::Now() or base::TimeTicks::Now().
|
| +base::TimeDelta MEDIA_BLINK_EXPORT
|
| +GetCacheValidUntil(const blink::WebURLResponse& response);
|
| +
|
| } // namespace media
|
|
|
| #endif // MEDIA_BLINK_CACHE_UTIL_H_
|
|
|