diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-01-29 16:35:13 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-02-01 15:33:35 +0000 |
commit | c8c2d1901aec01e934adf561a9fdf0cc776cdef8 (patch) | |
tree | 9157c3d9815e5870799e070b113813bec53e0535 /chromium/media/base/demuxer_memory_limit.h | |
parent | abefd5095b41dac94ca451d784ab6e27372e981a (diff) | |
download | qtwebengine-chromium-c8c2d1901aec01e934adf561a9fdf0cc776cdef8.tar.gz |
BASELINE: Update Chromium to 64.0.3282.139
Change-Id: I1cae68fe9c94ff7608b26b8382fc19862cdb293a
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/media/base/demuxer_memory_limit.h')
-rw-r--r-- | chromium/media/base/demuxer_memory_limit.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/media/base/demuxer_memory_limit.h b/chromium/media/base/demuxer_memory_limit.h new file mode 100644 index 00000000000..1e9bde2fb2e --- /dev/null +++ b/chromium/media/base/demuxer_memory_limit.h @@ -0,0 +1,24 @@ +// Copyright 2014 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef MEDIA_BASE_DEMUXER_MEMORY_LIMIT_H_ +#define MEDIA_BASE_DEMUXER_MEMORY_LIMIT_H_ + +#include <stddef.h> + +#include "media/base/media_export.h" + +namespace media { + +// The maximum amount of data (in bytes) a demuxer can keep in memory, for a +// particular type of stream. +extern const size_t kDemuxerStreamAudioMemoryLimit; +extern const size_t kDemuxerStreamVideoMemoryLimit; + +// The maximum amount of data (in bytes) a demuxer can keep in memory overall. +extern const size_t kDemuxerMemoryLimit; + +} // namespace media + +#endif // MEDIA_BASE_DEMUXER_MEMORY_LIMIT_H_ |