summarylogtreecommitdiffstats
path: root/iwyu-add-stdint.h-for-various-integer-types-in-net.patch
blob: ff31bbb9494a74230c12a3482752e415b52d7fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From 78e8aa30665d0344a64a98c092612ea6064dbe60 Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <stha09@googlemail.com>
Date: Wed, 12 Apr 2023 08:42:20 +0000
Subject: [PATCH] IWYU: add stdint.h for various integer types in //net

Bug: 957519
Change-Id: I7161bc8f5974a4d241c12d618d954db0787ab84c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4394856
Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
Reviewed-by: Steven Bingler <bingler@chromium.org>
Reviewed-by: Matt Mueller <mattm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1129139}
---
 net/cert/pki/string_util.h            | 2 ++
 net/cookies/cookie_inclusion_status.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net/cert/pki/string_util.h b/net/cert/pki/string_util.h
index 1687b088606..b18f716f4b2 100644
--- a/net/cert/pki/string_util.h
+++ b/net/cert/pki/string_util.h
@@ -7,6 +7,8 @@
 
 #include "net/base/net_export.h"
 
+#include <stdint.h>
+
 #include <string_view>
 #include <vector>
 
diff --git a/net/cookies/cookie_inclusion_status.h b/net/cookies/cookie_inclusion_status.h
index e8dd6d8d9fa..129b13ab7ba 100644
--- a/net/cookies/cookie_inclusion_status.h
+++ b/net/cookies/cookie_inclusion_status.h
@@ -5,6 +5,8 @@
 #ifndef NET_COOKIES_COOKIE_INCLUSION_STATUS_H_
 #define NET_COOKIES_COOKIE_INCLUSION_STATUS_H_
 
+#include <stdint.h>
+
 #include <bitset>
 #include <cstdint>
 #include <ostream>