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

Unified Diff: chrome/browser/tab_contents/render_view_host_delegate_helper.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
Index: chrome/browser/tab_contents/render_view_host_delegate_helper.h
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.h b/chrome/browser/tab_contents/render_view_host_delegate_helper.h
index a5d37f1c4ec208e316f93a30910311bb71ae681f..c2508f630f0b2ddf9d63c530a009dd6a1a377564 100644
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.h
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.h
@@ -29,6 +29,10 @@ class SiteInstance;
class TabContents;
struct ViewHostMsg_CreateWindow_Params;
+namespace content {
+class BrowserContext;
+}
+
// Provides helper methods that provide common implementations of some
// RenderViewHostDelegate::View methods.
class RenderViewHostDelegateViewHelper : public NotificationObserver {
@@ -121,12 +125,13 @@ class RenderViewHostDelegateViewHelper : public NotificationObserver {
// RenderViewHostDelegate methods.
class RenderViewHostDelegateHelper {
public:
- static WebPreferences GetWebkitPrefs(Profile* profile, bool is_web_ui);
+ static WebPreferences GetWebkitPrefs(content::BrowserContext* browser_context,
+ bool is_web_ui);
- static void UpdateInspectorSetting(Profile* profile,
+ static void UpdateInspectorSetting(content::BrowserContext* browser_context,
const std::string& key,
const std::string& value);
- static void ClearInspectorSettings(Profile* profile);
+ static void ClearInspectorSettings(content::BrowserContext* browser_context);
private:
RenderViewHostDelegateHelper();
« no previous file with comments | « chrome/browser/tab_contents/background_contents.cc ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698