Home | History | Annotate | Download | only in extensions

Lines Matching refs:url

36                                     const GURL& url,
40 const GURL& url);
41 virtual SiteInstance* GetSiteInstanceForURL(const GURL& url);
42 virtual RenderProcessHost* GetExtensionProcess(const GURL& url);
50 // Returns the extension for an URL, which can either be a chrome-extension
51 // URL or a web app URL.
52 const Extension* GetExtensionOrAppByURL(const GURL& url);
116 const GURL& url,
124 new ExtensionHostMac(extension, GetSiteInstanceForURL(url), url,
127 new ExtensionHost(extension, GetSiteInstanceForURL(url), url, view_type);
134 ExtensionHost* ExtensionProcessManager::CreateView(const GURL& url,
142 const Extension* extension = service->GetExtensionByURL(url);
144 return CreateView(extension, url, browser, view_type);
150 const GURL& url,
152 return CreateView(extension, url, browser, ViewType::EXTENSION_POPUP);
155 ExtensionHost* ExtensionProcessManager::CreatePopup(const GURL& url,
157 return CreateView(url, browser, ViewType::EXTENSION_POPUP);
161 const Extension* extension, const GURL& url, Browser* browser) {
162 return CreateView(extension, url, browser, ViewType::EXTENSION_INFOBAR);
165 ExtensionHost* ExtensionProcessManager::CreateInfobar(const GURL& url,
167 return CreateView(url, browser, ViewType::EXTENSION_INFOBAR);
171 const Extension* extension, const GURL& url) {
183 new ExtensionHostMac(extension, GetSiteInstanceForURL(url), url,
186 new ExtensionHost(extension, GetSiteInstanceForURL(url), url,
259 const GURL& url) {
260 if (!browsing_instance_->HasSiteInstance(url))
263 browsing_instance_->GetSiteInstanceForURL(url));
275 SiteInstance* ExtensionProcessManager::GetSiteInstanceForURL(const GURL& url) {
276 return browsing_instance_->GetSiteInstanceForURL(url);
385 const GURL& url,
390 return ExtensionProcessManager::CreateView(extension, url,
399 return original_manager_->CreateView(extension, url, browser, view_type);
404 const Extension* extension, const GURL& url) {
407 ExtensionProcessManager::CreateBackgroundHost(extension, url);
415 const GURL& url) {
416 const Extension* extension = GetExtensionOrAppByURL(url);
418 return ExtensionProcessManager::GetSiteInstanceForURL(url);
420 return original_manager_->GetSiteInstanceForURL(url);
425 const GURL& url) {
426 const Extension* extension = GetExtensionOrAppByURL(url);
428 return ExtensionProcessManager::GetExtensionProcess(url);
430 return original_manager_->GetExtensionProcess(url);
435 const GURL& url) {
440 return (url.SchemeIs(chrome::kExtensionScheme)) ?
441 service->GetExtensionByURL(url) : service->GetExtensionByWebExtent(url);