| Index: sky/engine/core/html/parser/HTMLDocumentParser.h
|
| diff --git a/sky/engine/core/html/parser/HTMLDocumentParser.h b/sky/engine/core/html/parser/HTMLDocumentParser.h
|
| index ba4b4c10a4c3a4f49c2840478b178d9ca31ca74b..6b297bffee9d8edbda2496b63c188607abe6f616 100644
|
| --- a/sky/engine/core/html/parser/HTMLDocumentParser.h
|
| +++ b/sky/engine/core/html/parser/HTMLDocumentParser.h
|
| @@ -26,6 +26,7 @@
|
| #ifndef HTMLDocumentParser_h
|
| #define HTMLDocumentParser_h
|
|
|
| +#include "base/callback.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "core/dom/DocumentParser.h"
|
| #include "core/fetch/ResourceClient.h"
|
| @@ -65,7 +66,8 @@ public:
|
| }
|
| virtual ~HTMLDocumentParser();
|
|
|
| - void parse(mojo::ScopedDataPipeConsumerHandle) override;
|
| + void parse(mojo::ScopedDataPipeConsumerHandle,
|
| + const base::Closure& completionCallback) override;
|
|
|
| // Exposed for HTMLParserScheduler
|
| void resumeParsingAfterYield();
|
| @@ -129,6 +131,8 @@ private:
|
| base::WeakPtrFactory<HTMLDocumentParser> m_weakFactory;
|
| base::WeakPtr<BackgroundHTMLParser> m_backgroundParser;
|
|
|
| + base::Closure m_completionCallback;
|
| +
|
| bool m_isFragment;
|
| bool m_endWasDelayed;
|
| bool m_haveBackgroundParser;
|
|
|