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

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

Issue 2574663002: TabManager checks if ServiceWorker exists on the suspending process (Closed)
Patch Set: Created 4 years 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: content/browser/service_worker/embedded_worker_registry.h
diff --git a/content/browser/service_worker/embedded_worker_registry.h b/content/browser/service_worker/embedded_worker_registry.h
index 80ce9b3db641f891e996e22d5103754776f3c3d9..ef8af19eaf49f623afa114ae998490217699fe80 100644
--- a/content/browser/service_worker/embedded_worker_registry.h
+++ b/content/browser/service_worker/embedded_worker_registry.h
@@ -92,6 +92,9 @@ class CONTENT_EXPORT EmbeddedWorkerRegistry
int line_number,
const GURL& source_url);
+ // Checks if service workers exist on the process.
+ bool IsWorkerExists(int process_id);
+
// Keeps a map from process_id to sender information.
void AddChildProcessSender(
int process_id,

Powered by Google App Engine
This is Rietveld 408576698