Commit a01596a9 authored by Hans Wennborg's avatar Hans Wennborg Committed by Commit Bot

Remove/replace unnecessary includes of logging.h (media/)

If the file just needs the CHECK/CHECK_OP/NOTREACHED
macros, use the appropriate header for that instead.
Or if logging.h is not needed at all, remove it.

This is both a nice cleanup (logging.h is a big header,
and including it unnecessarily has compile-time costs),
and part of the final step towards making logging.h no
longer include check.h and the others.

Bug: 1031540
Change-Id: I06efc96d246fa1b34088e8e23d5f79095aacb61d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254759
Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Reviewed-by: default avatarMatthew Wolenetz <wolenetz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780421}
parent d27c2c15
......@@ -7,7 +7,7 @@
#include <SLES/OpenSLES.h>
#include "base/logging.h"
#include "base/check.h"
#include "media/base/media_export.h"
namespace media {
......
......@@ -7,7 +7,7 @@
#include <stdint.h>
#include "base/logging.h"
#include "base/check_op.h"
#include "base/macros.h"
#include "media/base/media_export.h"
......
......@@ -10,7 +10,6 @@
#include <string>
#include <unordered_set>
#include "base/logging.h"
#include "base/macros.h"
#include "media/base/content_decryption_module.h"
#include "media/base/media_export.h"
......
......@@ -9,7 +9,7 @@
#include <memory>
#include "base/logging.h"
#include "base/check_op.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/time/time.h"
......
......@@ -12,7 +12,7 @@
#include <string>
#include <utility>
#include "base/logging.h"
#include "base/check.h"
#include "base/macros.h"
#include "base/memory/aligned_memory.h"
#include "base/memory/read_only_shared_memory_region.h"
......
......@@ -12,7 +12,6 @@
#include <string>
#include <utility>
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/single_thread_task_runner.h"
......
......@@ -12,7 +12,7 @@
#include <ostream>
#include <vector>
#include "base/logging.h"
#include "base/check_op.h"
#include "base/time/time.h"
#include "media/base/media_export.h"
......
......@@ -7,7 +7,7 @@
#include <stdint.h>
#include "base/logging.h"
#include "base/check_op.h"
// Vastly simplified ACM random class meant to only be used for testing.
// This class is meant to generate predictable sequences of pseudorandom
......
......@@ -14,8 +14,8 @@
#include <vector>
#include "base/callback.h"
#include "base/check_op.h"
#include "base/hash/md5.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/aligned_memory.h"
#include "base/memory/ref_counted.h"
......
......@@ -5,7 +5,6 @@
#ifndef MEDIA_BASE_VIDEO_RENDERER_SINK_H_
#define MEDIA_BASE_VIDEO_RENDERER_SINK_H_
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/time/time.h"
#include "media/base/media_export.h"
......
......@@ -10,7 +10,6 @@
#include <memory>
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "media/base/win/mf_initializer_export.h"
namespace media {
......
......@@ -9,7 +9,7 @@
#include <limits>
#include <map>
#include "base/logging.h"
#include "base/check.h"
namespace media {
......
......@@ -9,7 +9,7 @@
#include <string>
#include "base/callback_forward.h"
#include "base/logging.h"
#include "base/check.h"
#include "base/macros.h"
#include "media/base/media_export.h"
#include "media/base/video_codecs.h"
......
......@@ -21,7 +21,6 @@
#include "base/callback.h"
#include "base/files/file.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/memory/unsafe_shared_memory_region.h"
#include "base/single_thread_task_runner.h"
......
......@@ -9,7 +9,7 @@
#include <limits>
#include "base/logging.h"
#include "base/check_op.h"
namespace media {
namespace cast {
......
......@@ -6,7 +6,7 @@
#define MEDIA_CAST_COMMON_MOD_UTIL_H_
#include <map>
#include "base/logging.h"
#include "base/check.h"
namespace media {
namespace cast {
......
......@@ -11,7 +11,6 @@
#include "base/files/file.h"
#include "base/files/file_path.h"
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "base/native_library.h"
......
......@@ -9,9 +9,9 @@
#include <string>
#include "base/check.h"
#include "base/compiler_specific.h"
#include "base/feature_list.h"
#include "base/logging.h"
#include "base/macros.h"
#include "media/base/media_switches.h"
#include "media/cdm/api/content_decryption_module.h"
......
......@@ -7,7 +7,6 @@
#include "media/cdm/library_cdm/cdm_host_proxy.h"
#include "base/logging.h"
#include "base/macros.h"
namespace media {
......
......@@ -25,7 +25,7 @@
#include <memory>
#include "base/logging.h"
#include "base/check.h"
#include "base/macros.h"
#include "media/base/container_names.h"
#include "media/base/media_export.h"
......
......@@ -6,6 +6,7 @@
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "media/gpu/test/video_test_helpers.h"
#include "testing/gtest/include/gtest/gtest.h"
......
......@@ -19,7 +19,6 @@
#include "base/containers/queue.h"
#include "base/containers/small_map.h"
#include "base/logging.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/single_thread_task_runner.h"
......
......@@ -47,7 +47,6 @@
#include <stdint.h>
#include <sys/types.h>
#include "base/logging.h"
#include "base/macros.h"
#include "media/parsers/media_parsers_export.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment