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

Unified Diff: sky/engine/core/dom/DocumentParser.h

Issue 720903002: Script-based imports should basically work (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
Index: sky/engine/core/dom/DocumentParser.h
diff --git a/sky/engine/core/dom/DocumentParser.h b/sky/engine/core/dom/DocumentParser.h
index af6feb5575380bf274e81996915f8d7227646964..3141925fd6981137513be21baede7a4aa55c87d1 100644
--- a/sky/engine/core/dom/DocumentParser.h
+++ b/sky/engine/core/dom/DocumentParser.h
@@ -24,6 +24,7 @@
#ifndef DocumentParser_h
#define DocumentParser_h
+#include "base/callback_forward.h"
#include "mojo/public/cpp/system/core.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -41,7 +42,8 @@ class DocumentParser : public RefCounted<DocumentParser> {
public:
virtual ~DocumentParser();
- virtual void parse(mojo::ScopedDataPipeConsumerHandle) = 0;
+ virtual void parse(mojo::ScopedDataPipeConsumerHandle,
+ const base::Closure& completionCallback) = 0;
virtual TextPosition textPosition() const = 0;
virtual void executeScriptsWaitingForResources() = 0;

Powered by Google App Engine
This is Rietveld 408576698