HomeSort by relevance Sort by last modified time
    Searched refs:BrowsingInstance (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/content/browser/
browsing_instance.h 23 // BrowsingInstance class
31 // We further subdivide a BrowsingInstance into SiteInstances, which represent
32 // the documents within each BrowsingInstance that are from the same site and
38 // BrowsingInstance. This is because any two documents from the same site
39 // might be able to script each other if they are in the same BrowsingInstance.
42 // A BrowsingInstance is live as long as any SiteInstance has a reference to
47 // BrowsingInstance has no public members, as it is designed to be
49 // SiteInstance that is part of the same BrowsingInstance, use
55 class CONTENT_EXPORT BrowsingInstance
56 : public base::RefCounted<BrowsingInstance> {
    [all...]
browsing_instance.cc 17 BrowsingInstance::BrowsingInstance(BrowserContext* browser_context)
22 bool BrowsingInstance::HasSiteInstance(const GURL& url) {
30 SiteInstance* BrowsingInstance::GetSiteInstanceForURL(const GURL& url) {
48 void BrowsingInstance::RegisterSiteInstance(SiteInstance* site_instance) {
67 void BrowsingInstance::UnregisterSiteInstance(SiteInstance* site_instance) {
84 BrowsingInstance::~BrowsingInstance() {
site_instance_impl.h 15 class BrowsingInstance;
39 // BrowsingInstance) for the site of the given url. If so, we should try to
89 friend class BrowsingInstance;
95 // Create a new SiteInstance. Protected to give access to BrowsingInstance
98 explicit SiteInstanceImpl(BrowsingInstance* browsing_instance);
119 // BrowsingInstance to which this SiteInstance belongs.
120 scoped_refptr<BrowsingInstance> browsing_instance_;
site_instance_impl.cc 26 SiteInstanceImpl::SiteInstanceImpl(BrowsingInstance* browsing_instance)
42 // the BrowsingInstance. Any future visits to a page from this site
43 // (within the same BrowsingInstance) can safely create a new SiteInstance.
151 // Now that we have a site, register it with the BrowsingInstance. This
153 // the same BrowsingInstance, because all same-site pages within a
154 // BrowsingInstance can script each other.
233 return new SiteInstanceImpl(new BrowsingInstance(browser_context));
239 // This BrowsingInstance may be deleted if it returns an existing
241 scoped_refptr<BrowsingInstance> instance(
242 new BrowsingInstance(browser_context))
    [all...]
site_instance_impl_unittest.cc 143 // Subclass of BrowsingInstance that updates a counter when deleted and
145 class TestBrowsingInstance : public BrowsingInstance {
148 : BrowsingInstance(browser_context),
153 using BrowsingInstance::browser_context;
154 using BrowsingInstance::HasSiteInstance;
155 using BrowsingInstance::GetSiteInstanceForURL;
156 using BrowsingInstance::RegisterSiteInstance;
157 using BrowsingInstance::UnregisterSiteInstance;
180 TestSiteInstance(BrowsingInstance* browsing_instance, int* delete_counter)
406 // BrowsingInstance, when process-per-site is not in use
    [all...]

Completed in 3937 milliseconds