// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_BASE_CONTAINER_NAMES_H_ #define MEDIA_BASE_CONTAINER_NAMES_H_ #include <stdint.h> #include "media/base/media_export.h" namespace media { namespace container_names { // This is the set of input container formats detected for logging purposes. Not // all of these are enabled (and it varies by product). Any additions need to be // done at the end of the list (before CONTAINER_MAX). This list must be kept in // sync with the enum definition "MediaContainers" in // tools/metrics/histograms/histograms.xml. // // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.media // GENERATED_JAVA_PREFIX_TO_STRIP: CONTAINER_ enum class MediaContainerName { … }; // Minimum size considered for processing. enum { … }; // Determine the container type. MEDIA_EXPORT MediaContainerName DetermineContainer(const uint8_t* buffer, int buffer_size); } // namespace container_names } // namespace media #endif // MEDIA_BASE_CONTAINER_NAMES_H_