Lines Matching defs:site

42   // the BrowsingInstance.  Any future visits to a page from this site
57 // If we would use process-per-site for this site, also check if there is an
73 // with no site set at this point, so it will default to TYPE_NORMAL. This
82 // If we should use process-per-site mode (either in general or for the
83 // given site), then look for an existing RenderProcessHost for the site.
115 // If we are using process-per-site, we need to register this process
116 // for the current site so that we can find it again. (If no site is set
124 "site id", id_, "process id", process_->GetID());
137 "site id", id_, "url", url.possibly_invalid_spec());
138 // A SiteInstance's site should not change.
141 // be fixed, but until then, we should still not set the site of a
151 // Now that we have a site, register it with the BrowsingInstance. This
152 // ensures that we won't create another SiteInstance for this site within
153 // the same BrowsingInstance, because all same-site pages within a
160 // Ensure the process is registered for this site if necessary.
196 // process-per-site cases where there's an existing process available.
202 // If the URL to navigate to can be associated with any site instance,
207 // If the site URL is an extension (e.g., for hosted apps or WebUI) but the
255 // We infer web site boundaries based on the registered domain name of the
260 // Some special URLs will match the site instance of any other URL. This is
262 // to have the same site instance as even an invalid one.
266 // If either URL is invalid, they aren't part of the same site.
271 // same site.
276 // If the schemes differ, they aren't part of the same site.
295 // URLs with no host should have an empty site.
296 GURL site;
299 // site, since there is no host. e.g., file:, about:, chrome:
301 // If the url has a host, then determine the site.
305 site = url.GetOrigin();
308 if (site.has_port()) {
311 site = site.ReplaceComponents(rep);
322 site = site.ReplaceComponents(rep);
325 return site;
342 // We currently only restrict this process to a particular site if the
343 // --enable-strict-site-isolation or --site-per-process flags are present.