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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 11000027: Rename GetSite in SiteInstance to GetSiteURL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « no previous file | chrome/browser/extensions/extension_process_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 150db0ec6b4cd6bd6db179eec45849950e608684..1511e6e032df6b144148990b6d24dcc5aae63103 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -731,7 +731,7 @@ void ChromeContentBrowserClient::SiteInstanceGotProcess(
const Extension* extension =
service->extensions()->GetExtensionOrAppByURL(ExtensionURLInfo(
- site_instance->GetSite()));
+ site_instance->GetSiteURL()));
if (!extension)
return;
@@ -760,7 +760,7 @@ void ChromeContentBrowserClient::SiteInstanceDeleting(
const Extension* extension =
service->extensions()->GetExtensionOrAppByURL(
- ExtensionURLInfo(site_instance->GetSite()));
+ ExtensionURLInfo(site_instance->GetSiteURL()));
if (!extension)
return;
@@ -1577,7 +1577,7 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs(
ExtensionService* service = profile->GetExtensionService();
if (service) {
const Extension* extension = service->extensions()->GetByID(
- rvh->GetSiteInstance()->GetSite().host());
+ rvh->GetSiteInstance()->GetSiteURL().host());
extension_webkit_preferences::SetPreferences(
extension, view_type, web_prefs);
}
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698