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

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: review 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 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);

Powered by Google App Engine
This is Rietveld 408576698