Index: third_party/WebKit/public/platform/WebFrameScheduler.h |
diff --git a/third_party/WebKit/public/platform/WebFrameScheduler.h b/third_party/WebKit/public/platform/WebFrameScheduler.h |
index 558cecd3323138ee05d38a8c98b6dc47ed62c054..2509f0700422663758adf393c82ac0e40cf501bd 100644 |
--- a/third_party/WebKit/public/platform/WebFrameScheduler.h |
+++ b/third_party/WebKit/public/platform/WebFrameScheduler.h |
@@ -52,6 +52,11 @@ public: |
// Tells the scheduler a resource load has stopped. The scheduler may make |
// policy decisions based on this. |
virtual void didStopLoading(unsigned long identifier) { } |
+ |
+ // Tells the scheduler if we are parsing a document on another thread. This |
+ // tells the scheduler not to advance virtual time if it's using the |
+ // DETERMINISTIC_LOADING policy. |
+ virtual void setDocumentParsingInBackground(bool) {} |
}; |
} // namespace blink |