diff options
Diffstat (limited to 'content/public/browser/content_browser_client.h')
-rw-r--r-- | content/public/browser/content_browser_client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h index 56f6150..38a3c6f 100644 --- a/content/public/browser/content_browser_client.h +++ b/content/public/browser/content_browser_client.h @@ -237,6 +237,14 @@ class CONTENT_EXPORT ContentBrowserClient { // Called from a site instance's destructor. virtual void SiteInstanceDeleting(SiteInstance* site_instance) {} + // Called when a worker process is created. + virtual void WorkerProcessCreated(SiteInstance* site_instance, + int worker_process_id) {} + + // Called when a worker process is terminated. + virtual void WorkerProcessTerminated(SiteInstance* site_instance, + int worker_process_id) {} + // Returns true if for the navigation from |current_url| to |new_url| // in |site_instance|, a new SiteInstance and BrowsingInstance should be // created (even if we are in a process model that doesn't usually swap.) |