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

Unified Diff: content/browser/content_browser_client.h

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: slight tweaking for comments Created 9 years, 5 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
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/javascript_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/content_browser_client.h
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h
index a04cee03c5618c778c1eb0e98bdd34b2336eb190..ec5a13e5bce7b63483886c1592a66cbe8842f334 100644
--- a/content/browser/content_browser_client.h
+++ b/content/browser/content_browser_client.h
@@ -22,7 +22,6 @@ class FilePath;
class GURL;
class MHTMLGenerationManager;
class PluginProcessHost;
-class Profile;
class QuotaPermissionContext;
class RenderViewHost;
class ResourceDispatcherHost;
@@ -54,6 +53,7 @@ class Clipboard;
namespace content {
+class BrowserContext;
class ResourceContext;
class WebUIFactory;
@@ -91,11 +91,12 @@ class ContentBrowserClient {
// Get the effective URL for the given actual URL, to allow an embedder to
// group different url schemes in the same SiteInstance.
- virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) = 0;
+ virtual GURL GetEffectiveURL(BrowserContext* browser_context,
+ const GURL& url) = 0;
// Returns whether all instances of the specified effective URL should be
// rendered by the same process, rather than using process-per-site-instance.
- virtual bool ShouldUseProcessPerSite(Profile* profile,
+ virtual bool ShouldUseProcessPerSite(BrowserContext* browser_context,
const GURL& effective_url) = 0;
// Returns whether a specified URL is to be considered the same as any
@@ -242,7 +243,8 @@ class ContentBrowserClient {
virtual bool IsFastShutdownPossible() = 0;
// Returns the WebKit preferences that are used by the renderer.
- virtual WebPreferences GetWebkitPrefs(Profile* profile, bool is_web_ui) = 0;
+ virtual WebPreferences GetWebkitPrefs(BrowserContext* browser_context,
+ bool is_web_ui) = 0;
// Inspector setting was changed and should be persisted.
virtual void UpdateInspectorSetting(RenderViewHost* rvh,
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/javascript_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698