| Index: content/public/browser/site_instance.h
|
| diff --git a/content/public/browser/site_instance.h b/content/public/browser/site_instance.h
|
| index 2cede0abf411cf5c9cf22e2a61e9ea6c1a8781ad..1e94c2202099310da8e09f19051f0905fff31f14 100644
|
| --- a/content/public/browser/site_instance.h
|
| +++ b/content/public/browser/site_instance.h
|
| @@ -12,7 +12,6 @@
|
|
|
| namespace content {
|
| class BrowserContext;
|
| -class BrowsingInstance;
|
| class RenderProcessHost;
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
| @@ -107,6 +106,10 @@ class CONTENT_EXPORT SiteInstance : public base::RefCounted<SiteInstance> {
|
| // origins (e.g., postMessage) should be supported.
|
| virtual bool IsRelatedSiteInstance(const SiteInstance* instance) = 0;
|
|
|
| + // Returns the total active WebContents count for this SiteInstance and all
|
| + // related SiteInstances in the same BrowsingInstance.
|
| + virtual size_t GetRelatedActiveContentsCount() const = 0;
|
| +
|
| // Factory method to create a new SiteInstance. This will create a new
|
| // new BrowsingInstance, so it should only be used when creating a new tab
|
| // from scratch (or similar circumstances). Callers should ensure that
|
|
|