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

Unified Diff: content/browser/service_worker/service_worker_version.h

Issue 1901363002: Don't stop ServiceWorker when DevTools is attached even if JS execution is failed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add running_status check Created 4 years, 8 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 | « no previous file | content/browser/service_worker/service_worker_version.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index 214cd58e011597b028a4fa8423a14f167630bd01..af006d84ba7a9739247ab3af1abc7646cbf7d7f1 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -669,6 +669,8 @@ class CONTENT_EXPORT ServiceWorkerVersion
std::unique_ptr<Metrics> metrics_;
const bool should_exclude_from_uma_ = false;
+ bool stop_when_devtools_detached_ = false;
+
base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion);
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698