diff options
Diffstat (limited to 'iwyu-add-stdint.h-for-various-int-types-in-comp.patch')
-rw-r--r-- | iwyu-add-stdint.h-for-various-int-types-in-comp.patch | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/iwyu-add-stdint.h-for-various-int-types-in-comp.patch b/iwyu-add-stdint.h-for-various-int-types-in-comp.patch new file mode 100644 index 0000000..fb3d834 --- /dev/null +++ b/iwyu-add-stdint.h-for-various-int-types-in-comp.patch @@ -0,0 +1,111 @@ +From 81b275691c28e2a8ae91514305a0e213461fcda4 Mon Sep 17 00:00:00 2001 +From: Stephan Hartmann <stha09@googlemail.com> +Date: Tue, 11 Apr 2023 13:30:43 +0000 +Subject: [PATCH] IWYU: add stdint.h for various integer types in //components + +Bug: 957519 +Change-Id: I920fc7c442b05c3522a6533c4b0ec83b403fd0f0 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4406547 +Reviewed-by: Colin Blundell <blundell@chromium.org> +Commit-Queue: Stephan Hartmann <stha09@googlemail.com> +Cr-Commit-Position: refs/heads/main@{#1128605} +--- + components/autofill/core/browser/autofill_ablation_study.h | 2 ++ + components/crash/core/app/crash_reporter_client.h | 2 ++ + .../feature_engagement/internal/event_storage_validator.h | 2 ++ + components/omnibox/browser/on_device_head_model.h | 2 ++ + .../core/browser/generation/password_generator.h | 2 ++ + components/payments/content/utility/fingerprint_parser.h | 1 + + components/viz/common/view_transition_element_resource_id.h | 2 ++ + 8 files changed, 15 insertions(+) + +diff --git a/components/autofill/core/browser/autofill_ablation_study.h b/components/autofill/core/browser/autofill_ablation_study.h +index ada8121982e..4ddec085621 100644 +--- a/components/autofill/core/browser/autofill_ablation_study.h ++++ b/components/autofill/core/browser/autofill_ablation_study.h +@@ -5,6 +5,8 @@ + #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_ + #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_ABLATION_STUDY_H_ + ++#include <stdint.h> ++ + #include <string> + + class GURL; +diff --git a/components/crash/core/app/crash_reporter_client.h b/components/crash/core/app/crash_reporter_client.h +index 9f8f20dfa65..a604df7a5ea 100644 +--- a/components/crash/core/app/crash_reporter_client.h ++++ b/components/crash/core/app/crash_reporter_client.h +@@ -5,6 +5,8 @@ + #ifndef COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_ + #define COMPONENTS_CRASH_CORE_APP_CRASH_REPORTER_CLIENT_H_ + ++#include <stdint.h> ++ + #include <string> + + #include "build/build_config.h" +diff --git a/components/feature_engagement/internal/event_storage_validator.h b/components/feature_engagement/internal/event_storage_validator.h +index 647a359ee24..f3f792205af 100644 +--- a/components/feature_engagement/internal/event_storage_validator.h ++++ b/components/feature_engagement/internal/event_storage_validator.h +@@ -5,6 +5,8 @@ + #ifndef COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_ + #define COMPONENTS_FEATURE_ENGAGEMENT_INTERNAL_EVENT_STORAGE_VALIDATOR_H_ + ++#include <stdint.h> ++ + #include <string> + + namespace feature_engagement { +diff --git a/components/omnibox/browser/on_device_head_model.h b/components/omnibox/browser/on_device_head_model.h +index d51277918cf..3a6039ffd33 100644 +--- a/components/omnibox/browser/on_device_head_model.h ++++ b/components/omnibox/browser/on_device_head_model.h +@@ -5,6 +5,8 @@ + #ifndef COMPONENTS_OMNIBOX_BROWSER_ON_DEVICE_HEAD_MODEL_H_ + #define COMPONENTS_OMNIBOX_BROWSER_ON_DEVICE_HEAD_MODEL_H_ + ++#include <stdint.h> ++ + #include <string> + #include <utility> + #include <vector> +diff --git a/components/password_manager/core/browser/generation/password_generator.h b/components/password_manager/core/browser/generation/password_generator.h +index b0d621ce35f..683dd668888 100644 +--- a/components/password_manager/core/browser/generation/password_generator.h ++++ b/components/password_manager/core/browser/generation/password_generator.h +@@ -5,6 +5,8 @@ + #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_ + #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_GENERATION_PASSWORD_GENERATOR_H_ + ++#include <stdint.h> ++ + #include <string> + + +diff --git a/components/payments/content/utility/fingerprint_parser.h b/components/payments/content/utility/fingerprint_parser.h +index e7983056517..3c3f8308700 100644 +--- a/components/payments/content/utility/fingerprint_parser.h ++++ b/components/payments/content/utility/fingerprint_parser.h +@@ -6,6 +6,7 @@ + #define COMPONENTS_PAYMENTS_CONTENT_UTILITY_FINGERPRINT_PARSER_H_ + + #include <stddef.h> ++#include <stdint.h> + + #include <string> + #include <vector> +diff --git a/components/viz/common/view_transition_element_resource_id.h b/components/viz/common/view_transition_element_resource_id.h +index fd0d06b16d6..17ae5688877 100644 +--- a/components/viz/common/view_transition_element_resource_id.h ++++ b/components/viz/common/view_transition_element_resource_id.h +@@ -5,6 +5,8 @@ + #ifndef COMPONENTS_VIZ_COMMON_VIEW_TRANSITION_ELEMENT_RESOURCE_ID_H_ + #define COMPONENTS_VIZ_COMMON_VIEW_TRANSITION_ELEMENT_RESOURCE_ID_H_ + ++#include <stdint.h> ++ + #include <string> + #include <vector> + |