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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h

Issue 1710903002: Revert of service worker: use 200 OK for update requests even in the no update case (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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: 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 c40cd4ae0fb59324ecc1f638d032aa11ef5814d9..78a46de3d3d88cc7a9cf2d1de609736978b457a9 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
@@ -62,7 +62,6 @@
// 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;
@@ -122,15 +121,10 @@
bool m_askedToTerminate;
enum WaitingForDebuggerState {
- WaitingForDebugger,
+ WaitingForDebuggerBeforeLoadingScript,
+ WaitingForDebuggerAfterScriptLoaded,
NotWaitingForDebugger
};
-
- enum {
- DontPauseAfterDownload,
- DoPauseAfterDownload,
- IsPausedAfterDownload
- } m_pauseAfterDownloadState;
WaitingForDebuggerState m_waitingForDebuggerState;
};
« no previous file with comments | « content/renderer/service_worker/embedded_worker_dispatcher.cc ('k') | third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698