archrelease: copy trunk to extra-x86_64
[arch-packages.git] / chromium / trunk / iwyu-add-stdint.h-for-various-integer-types-in-net.patch
blobff31bbb9494a74230c12a3482752e415b52d7fe4
1 From 78e8aa30665d0344a64a98c092612ea6064dbe60 Mon Sep 17 00:00:00 2001
2 From: Stephan Hartmann <stha09@googlemail.com>
3 Date: Wed, 12 Apr 2023 08:42:20 +0000
4 Subject: [PATCH] IWYU: add stdint.h for various integer types in //net
6 Bug: 957519
7 Change-Id: I7161bc8f5974a4d241c12d618d954db0787ab84c
8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4394856
9 Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
10 Reviewed-by: Steven Bingler <bingler@chromium.org>
11 Reviewed-by: Matt Mueller <mattm@chromium.org>
12 Cr-Commit-Position: refs/heads/main@{#1129139}
13 ---
14 net/cert/pki/string_util.h | 2 ++
15 net/cookies/cookie_inclusion_status.h | 2 ++
16 2 files changed, 4 insertions(+)
18 diff --git a/net/cert/pki/string_util.h b/net/cert/pki/string_util.h
19 index 1687b088606..b18f716f4b2 100644
20 --- a/net/cert/pki/string_util.h
21 +++ b/net/cert/pki/string_util.h
22 @@ -7,6 +7,8 @@
24 #include "net/base/net_export.h"
26 +#include <stdint.h>
28 #include <string_view>
29 #include <vector>
31 diff --git a/net/cookies/cookie_inclusion_status.h b/net/cookies/cookie_inclusion_status.h
32 index e8dd6d8d9fa..129b13ab7ba 100644
33 --- a/net/cookies/cookie_inclusion_status.h
34 +++ b/net/cookies/cookie_inclusion_status.h
35 @@ -5,6 +5,8 @@
36 #ifndef NET_COOKIES_COOKIE_INCLUSION_STATUS_H_
37 #define NET_COOKIES_COOKIE_INCLUSION_STATUS_H_
39 +#include <stdint.h>
41 #include <bitset>
42 #include <cstdint>
43 #include <ostream>