archrelease: copy trunk to extra-x86_64
[arch-packages.git] / chromium / trunk / iwyu-add-stdint.h-for-various-int-types-in-comp.patch
blobfb3d834b9fd764e1c5e4fcd725a712422dd60b3a
1 From 81b275691c28e2a8ae91514305a0e213461fcda4 Mon Sep 17 00:00:00 2001
2 From: Stephan Hartmann <stha09@googlemail.com>
3 Date: Tue, 11 Apr 2023 13:30:43 +0000
4 Subject: [PATCH] IWYU: add stdint.h for various integer types in //components
6 Bug: 957519
7 Change-Id: I920fc7c442b05c3522a6533c4b0ec83b403fd0f0
8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4406547
9 Reviewed-by: Colin Blundell <blundell@chromium.org>
10 Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
11 Cr-Commit-Position: refs/heads/main@{#1128605}
12 ---
13 components/autofill/core/browser/autofill_ablation_study.h | 2 ++
14 components/crash/core/app/crash_reporter_client.h | 2 ++
15 .../feature_engagement/internal/event_storage_validator.h | 2 ++
16 components/omnibox/browser/on_device_head_model.h | 2 ++
17 .../core/browser/generation/password_generator.h | 2 ++
18 components/payments/content/utility/fingerprint_parser.h | 1 +
19 components/viz/common/view_transition_element_resource_id.h | 2 ++
20 8 files changed, 15 insertions(+)
22 diff --git a/components/autofill/core/browser/autofill_ablation_study.h b/components/autofill/core/browser/autofill_ablation_study.h
23 index ada8121982e..4ddec085621 100644
24 --- a/components/autofill/core/browser/autofill_ablation_study.h
25 +++ b/components/autofill/core/browser/autofill_ablation_study.h
26 @@ -5,6 +5,8 @@
27 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_
28 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_
30 +#include <stdint.h>
32 #include <string>
34 class GURL;
35 diff --git a/components/crash/core/app/crash_reporter_client.h b/components/crash/core/app/crash_reporter_client.h
36 index 9f8f20dfa65..a604df7a5ea 100644
37 --- a/components/crash/core/app/crash_reporter_client.h
38 +++ b/components/crash/core/app/crash_reporter_client.h
39 @@ -5,6 +5,8 @@
40 #ifndef COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_
41 #define COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_
43 +#include <stdint.h>
45 #include <string>
47 #include "build/build_config.h"
48 diff --git a/components/feature_engagement/internal/event_storage_validator.h b/components/feature_engagement/internal/event_storage_validator.h
49 index 647a359ee24..f3f792205af 100644
50 --- a/components/feature_engagement/internal/event_storage_validator.h
51 +++ b/components/feature_engagement/internal/event_storage_validator.h
52 @@ -5,6 +5,8 @@
53 #ifndef COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_
54 #define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_
56 +#include <stdint.h>
58 #include <string>
60 namespace feature_engagement {
61 diff --git a/components/omnibox/browser/on_device_head_model.h b/components/omnibox/browser/on_device_head_model.h
62 index d51277918cf..3a6039ffd33 100644
63 --- a/components/omnibox/browser/on_device_head_model.h
64 +++ b/components/omnibox/browser/on_device_head_model.h
65 @@ -5,6 +5,8 @@
66 #ifndef COMPONENTS_OMNIBOX_BROWSER_ON_DEVICE_HEAD_MODEL_H_
67 #define COMPONENTS_OMNIBOX_BROWSER_ON_DEVICE_HEAD_MODEL_H_
69 +#include <stdint.h>
71 #include <string>
72 #include <utility>
73 #include <vector>
74 diff --git a/components/password_manager/core/browser/generation/password_generator.h b/components/password_manager/core/browser/generation/password_generator.h
75 index b0d621ce35f..683dd668888 100644
76 --- a/components/password_manager/core/browser/generation/password_generator.h
77 +++ b/components/password_manager/core/browser/generation/password_generator.h
78 @@ -5,6 +5,8 @@
79 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_
80 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_
82 +#include <stdint.h>
84 #include <string>
87 diff --git a/components/payments/content/utility/fingerprint_parser.h b/components/payments/content/utility/fingerprint_parser.h
88 index e7983056517..3c3f8308700 100644
89 --- a/components/payments/content/utility/fingerprint_parser.h
90 +++ b/components/payments/content/utility/fingerprint_parser.h
91 @@ -6,6 +6,7 @@
92 #define COMPONENTS_PAYMENTS_CONTENT_UTILITY_FINGERPRINT_PARSER_H_
94 #include <stddef.h>
95 +#include <stdint.h>
97 #include <string>
98 #include <vector>
99 diff --git a/components/viz/common/view_transition_element_resource_id.h b/components/viz/common/view_transition_element_resource_id.h
100 index fd0d06b16d6..17ae5688877 100644
101 --- a/components/viz/common/view_transition_element_resource_id.h
102 +++ b/components/viz/common/view_transition_element_resource_id.h
103 @@ -5,6 +5,8 @@
104 #ifndef COMPONENTS_VIZ_COMMON_VIEW_TRANSITION_ELEMENT_RESOURCE_ID_H_
105 #define COMPONENTS_VIZ_COMMON_VIEW_TRANSITION_ELEMENT_RESOURCE_ID_H_
107 +#include <stdint.h>
109 #include <string>
110 #include <vector>