summaryrefslogtreecommitdiff
path: root/chromium-125-appservice-include.patch
blob: d1b5c46c70abb2056635419ef44978078e4e1e9b (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
commit 54c4f460f35e0a4003aa4dd01007188ff00295cc
Author: Jose Dapena Paz <jdapena@igalia.com>
Date:   Wed Apr 17 08:19:26 2024 +0000

    IWYU: missing include for std::optional usage in app_types.h
    
    Bug: 40939315
    Change-Id: I845f4dd1598e38cbe5b22fe472079c41d24a8bd5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5456358
    Reviewed-by: Tim Sergeant <tsergeant@chromium.org>
    Commit-Queue: José Dapena Paz <jdapena@igalia.com>
    Cr-Commit-Position: refs/heads/main@{#1288572}

diff --git a/components/services/app_service/public/cpp/app_types.h b/components/services/app_service/public/cpp/app_types.h
index 988b6b30f48ff..833ce6d975b0b 100644
--- a/components/services/app_service/public/cpp/app_types.h
+++ b/components/services/app_service/public/cpp/app_types.h
@@ -5,6 +5,8 @@
 #ifndef COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_APP_TYPES_H_
 #define COMPONENTS_SERVICES_APP_SERVICE_PUBLIC_CPP_APP_TYPES_H_
 
+#include <optional>
+
 #include "base/component_export.h"
 #include "components/services/app_service/public/cpp/macros.h"
 #include "components/services/app_service/public/protos/app_types.pb.h"