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

Unified Diff: content/browser/content_browser_client.h

Issue 7135003: Remove last extension dependencies from content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 9 years, 6 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/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);

Powered by Google App Engine
This is Rietveld 408576698