summaryrefslogtreecommitdiff
path: root/chromium/base/win/vector_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/win/vector_unittest.cc')
-rw-r--r--chromium/base/win/vector_unittest.cc37
1 files changed, 37 insertions, 0 deletions
diff --git a/chromium/base/win/vector_unittest.cc b/chromium/base/win/vector_unittest.cc
index b2cce5228f8..459e54026f6 100644
--- a/chromium/base/win/vector_unittest.cc
+++ b/chromium/base/win/vector_unittest.cc
@@ -39,6 +39,43 @@ struct __declspec(uuid("050e4b78-71b2-43ff-bf7c-f6ba589aced9"))
VectorChangedEventHandler<Uri*>
: VectorChangedEventHandler_impl<UriPtrAggregate> {};
+#ifdef NTDDI_WIN10_VB // Windows 10.0.19041
+// Specialization templates that used to be in windows.foundation.h, removed in
+// the 10.0.19041.0 SDK, so placed here instead.
+template <>
+struct __declspec(uuid("b939af5b-b45d-5489-9149-61442c1905fe")) IVector<int>
+ : IVector_impl<int> {};
+
+template <>
+struct __declspec(uuid("8d720cdf-3934-5d3f-9a55-40e8063b086a")) IVectorView<int>
+ : IVectorView_impl<int> {};
+
+template <>
+struct __declspec(uuid("bfea7f78-50c2-5f1d-a6ea-9e978d2699ff")) IIterator<int>
+ : IIterator_impl<int> {};
+
+template <>
+struct __declspec(uuid("81a643fb-f51c-5565-83c4-f96425777b66")) IIterable<int>
+ : IIterable_impl<int> {};
+
+template <>
+struct __declspec(uuid("0d82bd8d-fe62-5d67-a7b9-7886dd75bc4e")) IVector<Uri*>
+ : IVector_impl<Internal::AggregateType<Uri*, IUriRuntimeClass*>> {};
+
+template <>
+struct __declspec(uuid("4b8385bd-a2cd-5ff1-bf74-7ea580423e50"))
+ IVectorView<Uri*>
+ : IVectorView_impl<Internal::AggregateType<Uri*, IUriRuntimeClass*>> {};
+
+template <>
+struct __declspec(uuid("1c157d0f-5efe-5cec-bbd6-0c6ce9af07a5")) IIterator<Uri*>
+ : IIterator_impl<Internal::AggregateType<Uri*, IUriRuntimeClass*>> {};
+
+template <>
+struct __declspec(uuid("b0d63b78-78ad-5e31-b6d8-e32a0e16c447")) IIterable<Uri*>
+ : IIterable_impl<Internal::AggregateType<Uri*, IUriRuntimeClass*>> {};
+#endif
+
} // namespace Collections
} // namespace Foundation
} // namespace Windows