Index: content/browser/content_browser_client.h |
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h |
index 46b854d47bce02f21de109b76771645ec76dcc2b..2827f3937cae8e88acca5ef273da7970eefe04f8 100644 |
--- a/content/browser/content_browser_client.h |
+++ b/content/browser/content_browser_client.h |
@@ -172,6 +172,17 @@ class ContentBrowserClient { |
int render_view_id, |
int notification_id); |
+ // Checks if the given page has access to the background window permission. |
+ // This is called on the IO thread. |
+ virtual bool CheckBackgroundPermission( |
+ const GURL& source_url, const content::ResourceContext& context); |
+ |
+ // Returns a title string to use in the task manager for a process host with |
+ // the given URL, or the empty string to fall back to the default logic. |
+ // This is called on the IO thread. |
+ virtual std::string GetWorkerProcessTitle( |
+ const GURL& url, const content::ResourceContext& context); |
+ |
#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Can return an optional fd for crash handling, otherwise returns -1. |
virtual int GetCrashSignalFD(const std::string& process_type); |