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

Unified Diff: content/public/test/mock_render_process_host.h

Issue 2312633002: For debugging, split worker ref count into service worker and shared worker counts (Closed)
Patch Set: size_t Created 4 years, 3 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 | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_process_host.h
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h
index 3f04b4c20c964bfca7452147aa59a48a58290a90..d35adac7a1c6eac07ba349a03625e659ce8fbeb5 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -103,8 +103,10 @@ class MockRenderProcessHost : public RenderProcessHost {
int cdm_id) const override;
#endif
bool IsProcessBackgrounded() const override;
- void IncrementWorkerRefCount() override;
- void DecrementWorkerRefCount() override;
+ void IncrementServiceWorkerRefCount() override;
+ void DecrementServiceWorkerRefCount() override;
+ void IncrementSharedWorkerRefCount() override;
+ void DecrementSharedWorkerRefCount() override;
void PurgeAndSuspend() override;
// IPC::Sender via RenderProcessHost.
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698