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

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

Issue 1675613002: 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: asan and fix win compile? 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 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;
};
« 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