Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / parser / HTMLParserThread.h
index e0b85f9..a350c80 100644 (file)
@@ -39,13 +39,20 @@ namespace WebCore {
 
 class HTMLParserThread {
 public:
+    static void init();
+    static void shutdown();
+
+    // It is an error to call shared() before init() or after shutdown();
     static HTMLParserThread* shared();
+
     void postTask(const Closure&);
 
 private:
     HTMLParserThread();
     ~HTMLParserThread();
 
+    blink::WebThread& ensureThread();
+
     OwnPtr<blink::WebThread> m_thread;
 };