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

Unified Diff: content/browser/utility_process_host_impl.h

Issue 960753003: Add a name to the proxy resolver utility process and display it in the task manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8-pac-oop
Patch Set: Better example. Created 5 years, 9 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
Index: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index 00b72e0cbc5a5db29ca7246e2b3559d20a5a603f..10ab0953354644f70b7fe17991ede3eb997aa5de 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -57,6 +57,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
#endif
bool StartMojoMode() override;
ServiceRegistry* GetServiceRegistry() override;
+ void SetName(const std::string& name) override;
void set_child_flags(int flags) { child_flags_ = flags; }
@@ -97,6 +98,8 @@ class CONTENT_EXPORT UtilityProcessHostImpl
bool started_;
+ std::string name_;
James Hawkins 2015/03/19 22:32:53 nit: Document this member var (the others should b
Anand Mistry (off Chromium) 2015/03/20 01:03:03 Done.
+
scoped_ptr<BrowserChildProcessHostImpl> process_;
// Used in single-process mode instead of process_.
« no previous file with comments | « chrome/browser/task_manager/child_process_resource_provider.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698