summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Negyokru <negyokru@inf.u-szeged.hu>2023-01-10 16:11:06 +0100
committerMartin Negyokru <negyokru@inf.u-szeged.hu>2023-01-11 11:32:40 +0000
commit2f7b1eccc402e9f50923d6278e1ae328f847fded (patch)
treea4863ce0f0b8229b32159102d9fdcd8bbb849f7e
parent2c3772ad353565522dfa55ab2f808686c7d067e1 (diff)
downloadqtwebengine-chromium-2f7b1eccc402e9f50923d6278e1ae328f847fded.tar.gz
[Backport] IWYU: Add missing standard header includes to ui/base/resource
Bug: none Change-Id: I07f7b5f2bd323bc0c4e68d0ca848c91623ae7239 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4053544 Cr-Commit-Position: refs/heads/main@{#1076388} Fixes: QTBUG-109949 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/453150 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--chromium/ui/base/resource/data_pack.cc3
-rw-r--r--chromium/ui/base/resource/data_pack_unittest.cc2
-rw-r--r--chromium/ui/base/resource/mock_resource_bundle_delegate.h2
-rw-r--r--chromium/ui/base/resource/resource_bundle.cc2
-rw-r--r--chromium/ui/base/resource/resource_bundle_android.cc2
-rw-r--r--chromium/ui/base/resource/resource_bundle_unittest.cc3
-rw-r--r--chromium/ui/base/resource/resource_bundle_win.cc2
-rw-r--r--chromium/ui/base/resource/resource_data_dll_win.h3
-rw-r--r--chromium/ui/base/resource/resource_handle.h2
9 files changed, 21 insertions, 0 deletions
diff --git a/chromium/ui/base/resource/data_pack.cc b/chromium/ui/base/resource/data_pack.cc
index 02f5367af5b..77def9107d1 100644
--- a/chromium/ui/base/resource/data_pack.cc
+++ b/chromium/ui/base/resource/data_pack.cc
@@ -5,8 +5,11 @@
#include "ui/base/resource/data_pack.h"
#include <errno.h>
+
#include <algorithm>
+#include <memory>
#include <set>
+#include <string>
#include <utility>
#include "base/command_line.h"
diff --git a/chromium/ui/base/resource/data_pack_unittest.cc b/chromium/ui/base/resource/data_pack_unittest.cc
index b5138326ed8..180199f2c42 100644
--- a/chromium/ui/base/resource/data_pack_unittest.cc
+++ b/chromium/ui/base/resource/data_pack_unittest.cc
@@ -7,6 +7,8 @@
#include <stddef.h>
#include <stdint.h>
+#include <map>
+#include <string>
#include <utility>
#include "base/files/file.h"
diff --git a/chromium/ui/base/resource/mock_resource_bundle_delegate.h b/chromium/ui/base/resource/mock_resource_bundle_delegate.h
index 6c55c6440b0..8f803d5b5fd 100644
--- a/chromium/ui/base/resource/mock_resource_bundle_delegate.h
+++ b/chromium/ui/base/resource/mock_resource_bundle_delegate.h
@@ -5,6 +5,8 @@
#ifndef UI_BASE_RESOURCE_MOCK_RESOURCE_BUNDLE_DELEGATE_H_
#define UI_BASE_RESOURCE_MOCK_RESOURCE_BUNDLE_DELEGATE_H_
+#include <string>
+
#include "testing/gmock/include/gmock/gmock.h"
#include "ui/base/resource/resource_bundle.h"
diff --git a/chromium/ui/base/resource/resource_bundle.cc b/chromium/ui/base/resource/resource_bundle.cc
index 585ae9fe560..b6882092b78 100644
--- a/chromium/ui/base/resource/resource_bundle.cc
+++ b/chromium/ui/base/resource/resource_bundle.cc
@@ -7,6 +7,8 @@
#include <stdint.h>
#include <limits>
+#include <string>
+#include <tuple>
#include <utility>
#include <vector>
diff --git a/chromium/ui/base/resource/resource_bundle_android.cc b/chromium/ui/base/resource/resource_bundle_android.cc
index 7595aeb0397..322695e9038 100644
--- a/chromium/ui/base/resource/resource_bundle_android.cc
+++ b/chromium/ui/base/resource/resource_bundle_android.cc
@@ -4,6 +4,8 @@
#include "ui/base/resource/resource_bundle_android.h"
+#include <memory>
+#include <string>
#include <utility>
#include "base/android/apk_assets.h"
diff --git a/chromium/ui/base/resource/resource_bundle_unittest.cc b/chromium/ui/base/resource/resource_bundle_unittest.cc
index 2c0143e9907..726b6c3cc95 100644
--- a/chromium/ui/base/resource/resource_bundle_unittest.cc
+++ b/chromium/ui/base/resource/resource_bundle_unittest.cc
@@ -8,7 +8,10 @@
#include <stdint.h>
#include <string.h>
+#include <algorithm>
+#include <map>
#include <string>
+#include <vector>
#include "base/base_paths.h"
#include "base/big_endian.h"
diff --git a/chromium/ui/base/resource/resource_bundle_win.cc b/chromium/ui/base/resource/resource_bundle_win.cc
index 1adc8a75029..a67ed324796 100644
--- a/chromium/ui/base/resource/resource_bundle_win.cc
+++ b/chromium/ui/base/resource/resource_bundle_win.cc
@@ -6,6 +6,8 @@
#include <windows.h>
+#include <memory>
+
#include "base/path_service.h"
#include "base/strings/utf_string_conversions.h"
#include "skia/ext/image_operations.h"
diff --git a/chromium/ui/base/resource/resource_data_dll_win.h b/chromium/ui/base/resource/resource_data_dll_win.h
index 68d320cce8b..e682b25be29 100644
--- a/chromium/ui/base/resource/resource_data_dll_win.h
+++ b/chromium/ui/base/resource/resource_data_dll_win.h
@@ -8,6 +8,9 @@
#include <windows.h>
#include <stdint.h>
+#include <memory>
+#include <vector>
+
#include "ui/base/resource/resource_handle.h"
namespace ui {
diff --git a/chromium/ui/base/resource/resource_handle.h b/chromium/ui/base/resource/resource_handle.h
index 1d06d6dd303..55cb036fa17 100644
--- a/chromium/ui/base/resource/resource_handle.h
+++ b/chromium/ui/base/resource/resource_handle.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <vector>
+
#include "base/strings/string_piece.h"
#include "ui/base/resource/data_pack_export.h"
#include "ui/base/resource/resource_scale_factor.h"