diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-25 19:52:33 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-25 19:52:33 +0000 |
commit | b658359fcbccccd57bb5448519ab3f9b1ff35531 (patch) | |
tree | c72659685d2bdbe6151a7e2af704772bc0ee2b70 /chrome/browser/tab_contents/tab_util.h | |
parent | 5f5b937c2065a1028f5402474199043ce11f8858 (diff) | |
download | chromium_src-b658359fcbccccd57bb5448519ab3f9b1ff35531.zip chromium_src-b658359fcbccccd57bb5448519ab3f9b1ff35531.tar.gz chromium_src-b658359fcbccccd57bb5448519ab3f9b1ff35531.tar.bz2 |
Define the public interface for content browser SiteInstance. This interface is implemented by the SiteInstanceImpl class which lives
in content\browser\site_instance.cc/.h.
Changes as part of creating a content API.
BUG=98716
TEST=No change in functionality. Hopefully it all compiles and works.
Review URL: http://codereview.chromium.org/8515027
Review URL: https://chromiumcodereview.appspot.com/9146028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/tab_util.h')
-rw-r--r-- | chrome/browser/tab_contents/tab_util.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/tab_util.h b/chrome/browser/tab_contents/tab_util.h index 0b14f55..5866e02 100644 --- a/chrome/browser/tab_contents/tab_util.h +++ b/chrome/browser/tab_contents/tab_util.h @@ -8,8 +8,9 @@ class GURL; class Profile; -class SiteInstance; + namespace content { +class SiteInstance; class WebContents; } @@ -24,9 +25,10 @@ content::WebContents* GetWebContentsByID(int render_process_id, // 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 |