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

Unified Diff: content/browser/renderer_host/render_process_host.h

Issue 7480028: Removal of Profile from content part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: content/browser/renderer_host/render_process_host.h
diff --git a/content/browser/renderer_host/render_process_host.h b/content/browser/renderer_host/render_process_host.h
index 0b3b3e9c59905301bd0137d85a34e386518d073c..569d55c9ff50e9f3da0bf86f7e8f94135aad8bd7 100644
--- a/content/browser/renderer_host/render_process_host.h
+++ b/content/browser/renderer_host/render_process_host.h
@@ -13,7 +13,6 @@
#include "base/process.h"
#include "base/process_util.h"
#include "base/time.h"
-#include "chrome/browser/profiles/profile.h"
#include "ipc/ipc_channel_proxy.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/surface/transport_dib.h"
@@ -74,12 +73,6 @@ class RenderProcessHost : public IPC::Channel::Sender,
// Returns the user browser context associated with this renderer process.
content::BrowserContext* browser_context() const { return browser_context_; }
- // Returns the profile.
- // TEMPORARY; http://crbug.com/76788
- Profile* profile() const {
- return Profile::FromBrowserContext(browser_context());
- }
-
// Returns the unique ID for this child process. This can be used later in
// a call to FromID() to get back to this object (this is used to avoid
// sending non-threadsafe pointers to other threads).

Powered by Google App Engine
This is Rietveld 408576698