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

Unified Diff: third_party/WebKit/public/web/WebEmbeddedWorkerStartData.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
« no previous file with comments | « third_party/WebKit/public/web/WebEmbeddedWorker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h
diff --git a/third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h b/third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h
index 3edf6f5e982d87539c0e361584d19ed6b23348cf..33f850e3fc13bf052582b349d407b4ca704bc5be 100644
--- a/third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h
+++ b/third_party/WebKit/public/web/WebEmbeddedWorkerStartData.h
@@ -39,6 +39,10 @@
namespace blink {
struct WebEmbeddedWorkerStartData {
+ enum PauseAfterDownloadMode {
+ DontPauseAfterDownload,
+ PauseAfterDownload,
+ };
enum WaitForDebuggerMode {
DontWaitForDebugger,
WaitForDebugger
@@ -46,12 +50,16 @@ struct WebEmbeddedWorkerStartData {
WebURL scriptURL;
WebString userAgent;
+ PauseAfterDownloadMode pauseAfterDownloadMode;
WaitForDebuggerMode waitForDebuggerMode;
WebSettings::V8CacheOptions v8CacheOptions;
WebEmbeddedWorkerStartData()
- : waitForDebuggerMode(DontWaitForDebugger)
- , v8CacheOptions(WebSettings::V8CacheOptionsDefault) { }
+ : pauseAfterDownloadMode(DontPauseAfterDownload)
+ , waitForDebuggerMode(DontWaitForDebugger)
+ , v8CacheOptions(WebSettings::V8CacheOptionsDefault)
+ {
+ }
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/public/web/WebEmbeddedWorker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698