Home | History | Annotate | Download | only in browser

Lines Matching refs:SiteInstance

18 class SiteInstance;
37 // It is important to only have one SiteInstance per site within a given
42 // A BrowsingInstance is live as long as any SiteInstance has a reference to
43 // it. A SiteInstance is live as long as any NavigationEntry or RenderViewHost
48 // visible only from the SiteInstance class. To get a new
49 // SiteInstance that is part of the same BrowsingInstance, use
50 // SiteInstance::GetRelatedSiteInstance. Because of this,
64 // Returns whether this BrowsingInstance has registered a SiteInstance for
68 // Get the SiteInstance responsible for rendering the given URL. Should
70 // SiteInstance per site.
71 SiteInstance* GetSiteInstanceForURL(const GURL& url);
73 // Adds the given SiteInstance to our map, to ensure that we do not create
74 // another SiteInstance for the same site.
75 void RegisterSiteInstance(SiteInstance* site_instance);
77 // Removes the given SiteInstance from our map, after all references to it
78 // have been deleted. This means it is safe to create a new SiteInstance
81 void UnregisterSiteInstance(SiteInstance* site_instance);
92 friend class SiteInstance;
100 // Map of site to SiteInstance, to ensure we only have one SiteInstance per
102 typedef base::hash_map<std::string, SiteInstance*> SiteInstanceMap;
108 // Map of site to SiteInstance, to ensure we only have one SiteInstance per
111 // contain every active SiteInstance, because a race exists where two