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

Unified Diff: Source/core/html/parser/ParserSynchronizationPolicy.h

Issue 779393002: Turn DocumentParser::pinToMainThread into a cleaner api (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « Source/core/html/parser/HTMLDocumentParser.cpp ('k') | Source/core/html/parser/TextDocumentParser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/ParserSynchronizationPolicy.h
diff --git a/Source/core/html/parser/ParserSynchronizationPolicy.h b/Source/core/html/parser/ParserSynchronizationPolicy.h
new file mode 100644
index 0000000000000000000000000000000000000000..6d93535626a13aa90feeb3eede8084f9c2333cbe
--- /dev/null
+++ b/Source/core/html/parser/ParserSynchronizationPolicy.h
@@ -0,0 +1,13 @@
+#ifndef ParserSynchronizationPolicy_h
+#define ParserSynchronizationPolicy_h
+
+namespace blink {
+
+enum ParserSynchronizationPolicy {
+ AllowAsynchronousParsing,
+ ForceSynchronousParsing,
+};
+
+}
+
+#endif // ParserSynchronizationPolicy_h
« no previous file with comments | « Source/core/html/parser/HTMLDocumentParser.cpp ('k') | Source/core/html/parser/TextDocumentParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698