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

Unified Diff: chrome/browser/tab_contents/tab_util.cc

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 | « chrome/browser/tab_contents/tab_util.h ('k') | chrome/browser/tabs/default_tab_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_util.cc
===================================================================
--- chrome/browser/tab_contents/tab_util.cc (revision 118952)
+++ chrome/browser/tab_contents/tab_util.cc (working copy)
@@ -9,11 +9,12 @@
#include "chrome/browser/ui/webui/chrome_web_ui_factory.h"
#include "chrome/common/chrome_switches.h"
#include "content/browser/renderer_host/render_view_host.h"
-#include "content/browser/site_instance.h"
#include "content/public/browser/render_view_host_delegate.h"
+#include "content/public/browser/site_instance.h"
#include "content/public/browser/web_contents.h"
#include "googleurl/src/gurl.h"
+using content::SiteInstance;
using content::WebContents;
namespace tab_util {
@@ -38,7 +39,7 @@
if (ChromeWebUIFactory::GetInstance()->UseWebUIForURL(profile, url) ||
(service &&
service->extensions()->GetHostedAppByURL(ExtensionURLInfo(url)))) {
- return SiteInstance::CreateSiteInstanceForURL(profile, url);
+ return SiteInstance::CreateForURL(profile, url);
}
if (!source_contents)
« no previous file with comments | « chrome/browser/tab_contents/tab_util.h ('k') | chrome/browser/tabs/default_tab_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698