Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Unified Diff: third_party/WebKit/Source/core/dom/AncestorList.h

Issue 2816413002: [ES6 modules] Introduce Modulator::Fetch{Tree,TreeInternal,Single} (Closed)
Patch Set: rebased platform/wtf Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1eb020e90364098db6d84ffe27d3988ca1367c57
--- /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 "platform/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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698