Index: third_party/WebKit/Source/core/dom/AncestorList.h |
diff --git a/third_party/WebKit/Source/core/dom/AncestorList.h b/third_party/WebKit/Source/core/dom/AncestorList.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..63a58d9adf9ad0d393e93a6195d955893a8ef82d |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/dom/AncestorList.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef AncestorList_h |
+#define AncestorList_h |
+ |
+#include "platform/weborigin/KURL.h" |
+#include "platform/weborigin/KURLHash.h" |
+#include "wtf/HashSet.h" |
+ |
+namespace blink { |
+ |
+// Maps to "ancestor list" concept referenced in multiple module script |
+// algorithms. |
+// Example: |
+// https://html.spec.whatwg.org/#internal-module-script-graph-fetching-procedure |
+using AncestorList = HashSet<KURL>; |
+ |
+} // namespace blink |
+ |
+#endif |