aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_chromium_components_supervised__user_core_browser_proto__fetcher.h
blob: e84de128d3f522d7e886b31fff872ef7adc4efad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/3rdparty/chromium/components/supervised_user/core/browser/proto_fetcher.h.orig	2023-09-13 12:11:42 UTC
+++ src/3rdparty/chromium/components/supervised_user/core/browser/proto_fetcher.h
@@ -165,10 +165,18 @@ class ParallelFetchManager {
 
   // Starts the fetch. Underlying fetcher is stored internally, and will be
   // cleaned up after finish or when this manager is destroyed.
+#if defined(__clang__) && (__clang_major__ >= 15) 
   void Fetch(const Request& request, Fetcher::Callback callback);
+#else
+  void Fetch(const Request& request, typename Fetcher::Callback callback);
+#endif
 
  private:
+#if defined(__clang__) && (__clang_major__ >= 15) 
   using KeyType = base::IDMap<std::unique_ptr<Fetcher>>::KeyType;
+#else
+  using KeyType = typename base::IDMap<std::unique_ptr<Fetcher>>::KeyType;
+#endif
 
   // Remove fetcher under key from requests_in_flight_.
   void Remove(KeyType key);