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

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

Issue 2607513002: Remove Render.Workers.MaxWorkerCountInRendererProcess UMA. (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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dfe8d2481c796de7ee6adfb3e236a0f6af0c3671..46e67e129f2db8a3079e3afd82182245168ff4cb 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -423,7 +423,11 @@ class CONTENT_EXPORT RenderProcessHostImpl
scoped_refptr<ConnectionFilterController> connection_filter_controller_;
service_manager::mojom::ServicePtr test_service_;
+ // The number of service workers running in this process.
size_t service_worker_ref_count_;
+ // See comments for IncrementSharedWorkerRefCount() and
+ // DecrementSharedWorkerRefCount(). This is more like a boolean flag and not
+ // actually the number of shared workers running in this process.
size_t shared_worker_ref_count_;
// Set in ForceReleaseWorkerRefCounts. When true, worker ref counts must no
@@ -553,10 +557,6 @@ class CONTENT_EXPORT RenderProcessHostImpl
// Records the time when the process starts surviving for workers for UMA.
base::TimeTicks survive_for_worker_start_time_;
- // Records the maximum # of workers simultaneously hosted in this process
- // for UMA.
- size_t max_worker_count_;
-
// Context shared for each mojom::PermissionService instance created for this
// RPH.
std::unique_ptr<PermissionServiceContext> permission_service_context_;
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698