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

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
« no previous file with comments | « chrome/browser/tab_contents/background_contents.cc ('k') | chrome/browser/tab_contents/tab_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_util.h
===================================================================
--- chrome/browser/tab_contents/tab_util.h (revision 118952)
+++ chrome/browser/tab_contents/tab_util.h (working copy)
@@ -8,8 +8,9 @@
class GURL;
class Profile;
+
+namespace content {
class SiteInstance;
-namespace content {
class WebContents;
}
@@ -24,9 +25,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
« no previous file with comments | « chrome/browser/tab_contents/background_contents.cc ('k') | chrome/browser/tab_contents/tab_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698