diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 02:50:01 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-30 02:50:01 +0000 |
commit | 585ee0c0c73594fba28f00091631a981f028dd92 (patch) | |
tree | 4f31c6d56c2e3e9d02c8b350e4b39013fc56387c /webkit/glue/webkit_glue.h | |
parent | f9ea28ab6b3b02152b9a583dc91d51e05301eec6 (diff) | |
download | chromium_src-585ee0c0c73594fba28f00091631a981f028dd92.zip chromium_src-585ee0c0c73594fba28f00091631a981f028dd92.tar.gz chromium_src-585ee0c0c73594fba28f00091631a981f028dd92.tar.bz2 |
<video> use cache if --enable-byte-range-support is present
BUG=16013
TEST=Playing a video should still work with the flag in incognito mode or not.
Allow <video> to use cache if running with experimental byte range support.
Review URL: http://codereview.chromium.org/253001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27589 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.h')
-rw-r--r-- | webkit/glue/webkit_glue.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/webkit_glue.h b/webkit/glue/webkit_glue.h index 73fbe6b..1874510 100644 --- a/webkit/glue/webkit_glue.h +++ b/webkit/glue/webkit_glue.h @@ -122,6 +122,11 @@ WebKit::WebCanvas* ToWebCanvas(skia::PlatformCanvas*); // used to get memory usage statistics. int GetGlyphPageCount(); +// Methods to query and enable media cache. +// TODO(hclam): Remove these methods when the cache is stable enough. +bool IsMediaCacheEnabled(); +void SetMediaCacheEnabled(bool enabled); + //---- END FUNCTIONS IMPLEMENTED BY WEBKIT/GLUE ------------------------------- |