Searched refs:BrowsingInstance (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/content/browser/
H A Dbrowsing_instance.h22 // BrowsingInstance class
30 // We further subdivide a BrowsingInstance into SiteInstances, which represent
31 // the documents within each BrowsingInstance that are from the same site and
37 // BrowsingInstance. This is because any two documents from the same site
38 // might be able to script each other if they are in the same BrowsingInstance.
41 // A BrowsingInstance is live as long as any SiteInstance has a reference to
46 // BrowsingInstance has no public members, as it is designed to be
48 // SiteInstance that is part of the same BrowsingInstance, use
54 class CONTENT_EXPORT BrowsingInstance class in namespace:content
55 : public base::RefCounted<BrowsingInstance> {
[all...]
H A Dbrowsing_instance.cc17 BrowsingInstance::BrowsingInstance(BrowserContext* browser_context) function in class:content::BrowsingInstance
21 bool BrowsingInstance::HasSiteInstance(const GURL& url) {
29 SiteInstance* BrowsingInstance::GetSiteInstanceForURL(const GURL& url) {
47 void BrowsingInstance::RegisterSiteInstance(SiteInstance* site_instance) {
66 void BrowsingInstance::UnregisterSiteInstance(SiteInstance* site_instance) {
83 BrowsingInstance::~BrowsingInstance() {
H A Dsite_instance_impl.h38 // BrowsingInstance) for the site of the given url. If so, we should try to
71 friend class BrowsingInstance;
77 // Create a new SiteInstance. Protected to give access to BrowsingInstance
80 explicit SiteInstanceImpl(BrowsingInstance* browsing_instance);
109 // BrowsingInstance to which this SiteInstance belongs.
110 scoped_refptr<BrowsingInstance> browsing_instance_;
H A Dsite_instance_impl.cc42 SiteInstanceImpl::SiteInstanceImpl(BrowsingInstance* browsing_instance)
58 // the BrowsingInstance. Any future visits to a page from this site
59 // (within the same BrowsingInstance) can safely create a new SiteInstance.
165 // Now that we have a site, register it with the BrowsingInstance. This
167 // the same BrowsingInstance, because all same-site pages within a
168 // BrowsingInstance can script each other.
235 return new SiteInstanceImpl(new BrowsingInstance(browser_context));
241 // This BrowsingInstance may be deleted if it returns an existing
243 scoped_refptr<BrowsingInstance> instance(
244 new BrowsingInstance(browser_contex
[all...]
H A Dsite_instance_impl_unittest.cc142 // Subclass of BrowsingInstance that updates a counter when deleted and
144 class TestBrowsingInstance : public BrowsingInstance {
147 : BrowsingInstance(browser_context),
152 using BrowsingInstance::browser_context;
153 using BrowsingInstance::HasSiteInstance;
154 using BrowsingInstance::GetSiteInstanceForURL;
155 using BrowsingInstance::RegisterSiteInstance;
156 using BrowsingInstance::UnregisterSiteInstance;
179 TestSiteInstance(BrowsingInstance* browsing_instance, int* delete_counter)
391 // BrowsingInstance, whe
[all...]
/external/chromium_org/content/public/browser/
H A Dsite_instance.h15 class BrowsingInstance;
33 // the BrowsingInstance class.
39 // (which also creates a new BrowsingInstance), and (2) when the user navigates
40 // across site boundaries (which uses the same BrowsingInstance). If the user
50 // process per BrowsingInstance.
94 // BrowsingInstance, creating a new SiteInstance if necessary. This ensures
95 // that a BrowsingInstance only has one SiteInstance per site, so that pages
96 // in a BrowsingInstance have the ability to script each other. Callers
98 // a scoped_refptr. (By having this method, we can hide the BrowsingInstance
104 // Returns whether the given SiteInstance is in the same BrowsingInstance a
[all...]
/external/chromium/chrome/browser/extensions/
H A Dextension_process_manager.h19 class BrowsingInstance;
114 // The BrowsingInstance shared by all extensions in this profile. This
116 scoped_refptr<BrowsingInstance> browsing_instance_;
H A Dextension_process_manager.cc91 : browsing_instance_(new BrowsingInstance(profile)) {

Completed in 701 milliseconds