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

Unified Diff: chrome/browser/ui/browser.cc

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works now 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index be90b942982244963ae8490c68538d3bdb27e199..9e407b508b4365c9612ce2f2f2c245acf5d94589 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -3391,10 +3391,11 @@ void Browser::OnStartDownload(TabContents* source, DownloadItem* download) {
CloseContents(source);
}
-void Browser::ShowPageInfo(Profile* profile,
+void Browser::ShowPageInfo(content::BrowserContext* context,
const GURL& url,
const NavigationEntry::SSLStatus& ssl,
bool show_history) {
+ Profile* profile = static_cast<Profile*>(context);
window()->ShowPageInfo(profile, url, ssl, show_history);
}

Powered by Google App Engine
This is Rietveld 408576698