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

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

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
Index: chrome/browser/tab_contents/tab_util.h
===================================================================
--- chrome/browser/tab_contents/tab_util.h (revision 118703)
+++ chrome/browser/tab_contents/tab_util.h (working copy)
@@ -8,9 +8,10 @@
class GURL;
class Profile;
-class SiteInstance;
class TabContents;
+
namespace content {
+class SiteInstance;
class WebContents;
}
@@ -27,9 +28,10 @@
// Returns a new SiteInstance for WebUI and app URLs. Returns the SiteInstance
// for |source_contents| if it represents the same website as |url|. Returns
// NULL otherwise.
-SiteInstance* GetSiteInstanceForNewTab(content::WebContents* source_contents,
- Profile* profile,
- const GURL& url);
+content::SiteInstance* GetSiteInstanceForNewTab(
+ content::WebContents* source_contents,
+ Profile* profile,
+ const GURL& url);
} // namespace tab_util

Powered by Google App Engine
This is Rietveld 408576698