• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/fileapi/

Lines Matching refs:url

52     BlobRegistryContext(const KURL& url, PassOwnPtr<BlobData> blobData)
53 : url(url.copy())
59 BlobRegistryContext(const KURL& url, const KURL& srcURL)
60 : url(url.copy())
65 BlobRegistryContext(const KURL& url)
66 : url(url.copy())
70 KURL url;
87 blobRegistry().registerBlobURL(blobRegistryContext->url, blobRegistryContext->blobData.release());
90 void ThreadableBlobRegistry::registerBlobURL(const KURL& url, PassOwnPtr<BlobData> blobData)
93 blobRegistry().registerBlobURL(url, blobData);
95 OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url, blobData));
103 blobRegistry().registerBlobURL(blobRegistryContext->url, blobRegistryContext->srcURL);
106 void ThreadableBlobRegistry::registerBlobURL(SecurityOrigin* origin, const KURL& url, const KURL& srcURL)
108 // If the blob URL contains null origin, as in the context with unique security origin or file URL, save the mapping between url and origin so that the origin can be retrived when doing security origin check.
109 if (origin && BlobURL::getOrigin(url) == "null")
110 originMap()->add(url.string(), origin);
113 blobRegistry().registerBlobURL(url, srcURL);
115 OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url, srcURL));
123 blobRegistry().unregisterBlobURL(blobRegistryContext->url);
126 void ThreadableBlobRegistry::unregisterBlobURL(const KURL& url)
128 if (BlobURL::getOrigin(url) == "null")
129 originMap()->remove(url.string());
132 blobRegistry().unregisterBlobURL(url);
134 OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url));
139 PassRefPtr<SecurityOrigin> ThreadableBlobRegistry::getCachedOrigin(const KURL& url)
141 return originMap()->get(url.string());