0

Don't include raw_ptr.h in base/check.h

and fix other files implicitly depending on it, especially for <vector>.

check.h is supposed to be fast to compile, and raw_ptr.h was not used.

Bug: 242216
Change-Id: Ifc6a6035c8c58d04d01b31743226c85f3d5c7f89
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5453560
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Hans Wennborg <hans@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1289529}
This commit is contained in:
Hans Wennborg
2024-04-18 20:07:32 +00:00
committed by Chromium LUCI CQ
parent 2c73dfd15a
commit c176cf78bc
11 changed files with 14 additions and 1 deletions
base
components
cast_streaming
browser
power_metrics
ios/chrome/browser/ui
media/gpu/chromeos
mojo/core
remoting/host
sandbox/linux/seccomp-bpf-helpers
third_party/blink/renderer/platform/text

@ -15,7 +15,6 @@
#include "base/location.h"
#include "base/macros/if.h"
#include "base/macros/is_empty.h"
#include "base/memory/raw_ptr.h"
#include "base/not_fatal_until.h"
// This header defines the CHECK, DCHECK, and DPCHECK macros.

@ -7,6 +7,8 @@
#include "base/strings/cstring_view.h"
#include <vector>
namespace base {
namespace {

@ -6,6 +6,7 @@
#define COMPONENTS_CAST_STREAMING_BROWSER_PUBLIC_RECEIVER_CONFIG_H_
#include <optional>
#include <vector>
#include "base/time/time.h"
#include "media/base/audio_codecs.h"

@ -7,6 +7,7 @@
#include <memory>
#include <string>
#include <vector>
#include "base/win/scoped_handle.h"
#include "components/power_metrics/energy_metrics_provider.h"

@ -7,6 +7,8 @@
#import <Foundation/Foundation.h>
#include <vector>
namespace password_manager {
class AffiliatedGroup;
struct CredentialUIEntry;

@ -4,6 +4,7 @@
#import "ios/chrome/browser/ui/side_swipe/side_swipe_navigation_view.h"
#import <cmath>
#import <numbers>
#import "base/check.h"

@ -6,6 +6,7 @@
#define MEDIA_GPU_CHROMEOS_CHROMEOS_COMPRESSED_GPU_MEMORY_BUFFER_VIDEO_FRAME_UTILS_H_
#include <memory>
#include <vector>
#include "base/memory/scoped_refptr.h"

@ -9,6 +9,8 @@
#include "third_party/ipcz/include/ipcz/ipcz.h"
#include "third_party/ipcz/src/api.h"
#include <vector>
namespace mojo::core {
namespace {

@ -9,6 +9,8 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/vector2d.h"
#include <vector>
namespace remoting {
using DesktopScreenId = intptr_t;

@ -12,6 +12,7 @@
#include <linux/nbd.h>
#include <linux/net.h>
#include <linux/userfaultfd.h>
#include <sched.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#include <sys/types.h>

@ -20,6 +20,7 @@
#include <fstream>
#include <iterator>
#include <memory>
#include <vector>
#include "base/check_op.h"
#include "base/containers/heap_array.h"