summaryrefslogtreecommitdiffstats
path: root/content/browser/site_instance_impl.h
diff options
context:
space:
mode:
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 20:28:44 +0000
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 20:28:44 +0000
commit14392a5ec9b1c2679f6f58193ef6736123d4c442 (patch)
tree85eb33b09622b1ffa629e6ab361f6be861bf10de /content/browser/site_instance_impl.h
parentadcf0f0434f7af0e399bb0a034ba706ce12f746c (diff)
downloadchromium_src-14392a5ec9b1c2679f6f58193ef6736123d4c442.zip
chromium_src-14392a5ec9b1c2679f6f58193ef6736123d4c442.tar.gz
chromium_src-14392a5ec9b1c2679f6f58193ef6736123d4c442.tar.bz2
Create swapped-out opener RVHs after a process swap.
This is required to support cross-process JavaScript calls, like postMessage. BUG=99202 TEST=window.opener present after a cross-process navigation. Review URL: https://chromiumcodereview.appspot.com/10171018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134981 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/site_instance_impl.h')
-rw-r--r--content/browser/site_instance_impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/site_instance_impl.h b/content/browser/site_instance_impl.h
index bee9383..439db12 100644
--- a/content/browser/site_instance_impl.h
+++ b/content/browser/site_instance_impl.h
@@ -26,6 +26,7 @@ class CONTENT_EXPORT SiteInstanceImpl : public content::SiteInstance,
virtual content::RenderProcessHost* GetProcess() OVERRIDE;
virtual const GURL& GetSite() const OVERRIDE;
virtual SiteInstance* GetRelatedSiteInstance(const GURL& url) OVERRIDE;
+ virtual bool IsRelatedSiteInstance(const SiteInstance* instance) OVERRIDE;
virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
// Set the web site that this SiteInstance is rendering pages for.
@@ -111,8 +112,6 @@ class CONTENT_EXPORT SiteInstanceImpl : public content::SiteInstance,
// Whether SetSite has been called.
bool has_site_;
- FRIEND_TEST_ALL_PREFIXES(RenderViewHostManagerTest, NewTabPageProcesses);
-
DISALLOW_COPY_AND_ASSIGN(SiteInstanceImpl);
};