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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2569963002: MemoryCoordinator 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/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 0dd50c3a1cd36946022c7188e5722ada40ce82a6..4be85901c4d632e7644187529e622afa755a82c7 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -161,6 +161,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
override;
const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
bool IsProcessBackgrounded() const override;
+ size_t GetWorkerRefCount() const override;
void IncrementServiceWorkerRefCount() override;
void DecrementServiceWorkerRefCount() override;
void IncrementSharedWorkerRefCount() override;
@@ -302,10 +303,6 @@ class CONTENT_EXPORT RenderProcessHostImpl
class ConnectionFilterController;
class ConnectionFilterImpl;
- size_t worker_ref_count() {
- return service_worker_ref_count_ + shared_worker_ref_count_;
- }
-
// Initializes a new IPC::ChannelProxy in |channel_|, which will be connected
// to the next child process launched for this host, if any.
void InitializeChannelProxy();

Powered by Google App Engine
This is Rietveld 408576698