Chromium Code Reviews| Index: content/browser/content_browser_client.h |
| diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h |
| index 2b5e84298617f81f2da3e6fbd1ea164bbce0440a..25490f64b5cb660500524494437ec8e11416e783 100644 |
| --- a/content/browser/content_browser_client.h |
| +++ b/content/browser/content_browser_client.h |
| @@ -141,6 +141,21 @@ class ContentBrowserClient { |
| int render_process_id, |
| int render_view_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 |
|
jam
2011/06/07 23:17:53
I think this is only called on the IO thread right
Matt Perry
2011/06/07 23:58:10
Done.
|
| + // the given URL, or the empty string to fall back to the default logic. |
| + virtual std::string GetProcessHostTitle( |
| + const GURL& url, const content::ResourceContext& context); |
| + |
| + // Returns true if we should force the given resource to be downloaded. |
| + // Otherwise, the content layer decides. |
|
jam
2011/06/07 23:17:53
ditto about IO thread
Matt Perry
2011/06/07 23:58:10
Done.
|
| + virtual bool ShouldForceDownloadResource( |
| + const GURL& url, const std::string& mime_type); |
| + |
| #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); |