Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h |
index 78a46de3d3d88cc7a9cf2d1de609736978b457a9..c40cd4ae0fb59324ecc1f638d032aa11ef5814d9 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h |
@@ -62,6 +62,7 @@ public: |
// WebEmbeddedWorker overrides. |
void startWorkerContext(const WebEmbeddedWorkerStartData&) override; |
void terminateWorkerContext() override; |
+ void resumeAfterDownload() override; |
void attachDevTools(const WebString& hostId, int sessionId) override; |
void reattachDevTools(const WebString& hostId, int sessionId, const WebString& savedState) override; |
void detachDevTools() override; |
@@ -121,11 +122,16 @@ private: |
bool m_askedToTerminate; |
enum WaitingForDebuggerState { |
- WaitingForDebuggerBeforeLoadingScript, |
- WaitingForDebuggerAfterScriptLoaded, |
+ WaitingForDebugger, |
NotWaitingForDebugger |
}; |
+ enum { |
+ DontPauseAfterDownload, |
+ DoPauseAfterDownload, |
+ IsPausedAfterDownload |
+ } m_pauseAfterDownloadState; |
+ |
WaitingForDebuggerState m_waitingForDebuggerState; |
}; |