| Index: content/browser/site_instance_impl.h
|
| diff --git a/content/browser/site_instance_impl.h b/content/browser/site_instance_impl.h
|
| index 81967cfffa12d827d3e8c35687ee63d9c6ac4fed..8c3412eeee077941e64c7512c5ee3a38f3025fab 100644
|
| --- a/content/browser/site_instance_impl.h
|
| +++ b/content/browser/site_instance_impl.h
|
| @@ -43,6 +43,7 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
|
| bool IsRelatedSiteInstance(const SiteInstance* instance) override;
|
| size_t GetRelatedActiveContentsCount() override;
|
| bool RequiresDedicatedProcess() override;
|
| + bool IsForDoghouse() const override;
|
|
|
| // Set the web site that this SiteInstance is rendering pages for.
|
| // This includes the scheme and registered domain, but not the port. If the
|
| @@ -125,6 +126,8 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
|
| // instead.
|
| explicit SiteInstanceImpl(BrowsingInstance* browsing_instance);
|
|
|
| + void SetForDoghouse(bool);
|
| +
|
| private:
|
| // RenderProcessHostObserver implementation.
|
| void RenderProcessHostDestroyed(RenderProcessHost* host) override;
|
| @@ -163,6 +166,9 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance,
|
| // Whether SetSite has been called.
|
| bool has_site_;
|
|
|
| + // Whether the SiteInstance is dedicated for doghoused sites.
|
| + bool is_for_doghouse_;
|
| +
|
| base::ObserverList<Observer, true> observers_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SiteInstanceImpl);
|
|
|