Chromium Code Reviews| 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..9abc5d27e0965088849a57b99d60daaea942f7db 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 |
| + // PAUSE_IF_NETWORK_FETCHES_PENDING policy. |
| + virtual void setDocumentParsedInBackground(bool) { } |
|
Mike West
2016/07/29 13:49:08
Nit: "parsed" reads to me as "a document has finis
alex clarke (OOO till 29th)
2016/07/29 14:07:27
Good point. Done.
|
| }; |
| } // namespace blink |