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

Unified Diff: content/browser/browsing_instance.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/browsing_instance.h
diff --git a/content/browser/browsing_instance.h b/content/browser/browsing_instance.h
index 31a1cf4a0c0424d7ce7642fbb8d3d7b31723a2c6..b550659cfb2d3e124aa2bab75932677c3401eb23 100644
--- a/content/browser/browsing_instance.h
+++ b/content/browser/browsing_instance.h
@@ -8,7 +8,6 @@
#include "base/hash_tables.h"
#include "base/memory/ref_counted.h"
-#include "chrome/browser/profiles/profile.h"
class GURL;
class SiteInstance;
@@ -70,12 +69,6 @@ class BrowsingInstance : public base::RefCounted<BrowsingInstance> {
// Get the browser context to which this BrowsingInstance belongs.
content::BrowserContext* browser_context() { return browser_context_; }
- // Returns the profile.
- // TEMPORARY; http://crbug.com/76788
- Profile* profile() {
- return Profile::FromBrowserContext(browser_context());
- }
-
// Returns whether this BrowsingInstance has registered a SiteInstance for
// the site of the given URL.
bool HasSiteInstance(const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698