| Index: content/browser/site_instance_impl.cc
|
| diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc
|
| index 9f88bafc19e967fae60f63a46c3761e9d350cc67..7acd81dd032f2f0d8f2901e2304d87ee56d3797b 100644
|
| --- a/content/browser/site_instance_impl.cc
|
| +++ b/content/browser/site_instance_impl.cc
|
| @@ -28,7 +28,8 @@ SiteInstanceImpl::SiteInstanceImpl(BrowsingInstance* browsing_instance)
|
| active_frame_count_(0),
|
| browsing_instance_(browsing_instance),
|
| process_(NULL),
|
| - has_site_(false) {
|
| + has_site_(false),
|
| + is_for_doghouse_(false) {
|
| DCHECK(browsing_instance);
|
| }
|
|
|
| @@ -190,6 +191,14 @@ size_t SiteInstanceImpl::GetRelatedActiveContentsCount() {
|
| return browsing_instance_->active_contents_count();
|
| }
|
|
|
| +void SiteInstanceImpl::SetForDoghouse(bool value) {
|
| + is_for_doghouse_ = value;
|
| +}
|
| +
|
| +bool SiteInstanceImpl::IsForDoghouse() const {
|
| + return is_for_doghouse_;
|
| +}
|
| +
|
| bool SiteInstanceImpl::HasWrongProcessForURL(const GURL& url) {
|
| // Having no process isn't a problem, since we'll assign it correctly.
|
| // Note that HasProcess() may return true if process_ is null, in
|
|
|