Home
last modified time | relevance | path

Searched refs:blob_url (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/content/browser/fileapi/
Dblob_storage_host.cc88 const GURL& blob_url, const std::string& uuid) { in RegisterPublicBlobURL() argument
90 context_->IsUrlRegistered(blob_url)) in RegisterPublicBlobURL()
92 context_->RegisterPublicBlobURL(blob_url, uuid); in RegisterPublicBlobURL()
93 public_blob_urls_.insert(blob_url); in RegisterPublicBlobURL()
97 bool BlobStorageHost::RevokePublicBlobURL(const GURL& blob_url) { in RevokePublicBlobURL() argument
98 if (!context_.get() || !IsUrlRegisteredInHost(blob_url)) in RevokePublicBlobURL()
100 context_->RevokePublicBlobURL(blob_url); in RevokePublicBlobURL()
101 public_blob_urls_.erase(blob_url); in RevokePublicBlobURL()
113 bool BlobStorageHost::IsUrlRegisteredInHost(const GURL& blob_url) { in IsUrlRegisteredInHost() argument
114 return public_blob_urls_.find(blob_url) != public_blob_urls_.end(); in IsUrlRegisteredInHost()
Dblob_storage_host.h51 bool RegisterPublicBlobURL(const GURL& blob_url,
53 bool RevokePublicBlobURL(const GURL& blob_url) WARN_UNUSED_RESULT;
60 bool IsUrlRegisteredInHost(const GURL& blob_url);
Dfile_writer_delegate_unittest.cc138 const GURL& blob_url, in PrepareForWrite() argument
144 blob_url, net::DEFAULT_PRIORITY, file_writer_delegate_.get(), NULL); in PrepareForWrite()
/external/chromium_org/chrome/browser/extensions/
Dblob_reader.cc23 GURL blob_url; in BlobReader() local
26 blob_url = GURL(blob_uuid); in BlobReader()
28 blob_url = GURL(std::string("blob:uuid/") + blob_uuid); in BlobReader()
30 DCHECK(blob_url.is_valid()); in BlobReader()
32 blob_url, net::URLFetcher::GET, in BlobReader()
/external/chromium_org/webkit/browser/blob/
Dblob_storage_context.cc98 const GURL& blob_url, const std::string& uuid) { in RegisterPublicBlobURL() argument
99 DCHECK(!BlobUrlHasRef(blob_url)); in RegisterPublicBlobURL()
101 DCHECK(!IsUrlRegistered(blob_url)); in RegisterPublicBlobURL()
102 if (!IsInUse(uuid) || IsUrlRegistered(blob_url)) in RegisterPublicBlobURL()
105 public_blob_urls_[blob_url] = uuid; in RegisterPublicBlobURL()
109 void BlobStorageContext::RevokePublicBlobURL(const GURL& blob_url) { in RevokePublicBlobURL() argument
110 DCHECK(!BlobUrlHasRef(blob_url)); in RevokePublicBlobURL()
111 if (!IsUrlRegistered(blob_url)) in RevokePublicBlobURL()
113 DecrementBlobRefCount(public_blob_urls_[blob_url]); in RevokePublicBlobURL()
114 public_blob_urls_.erase(blob_url); in RevokePublicBlobURL()
[all …]
Dblob_storage_context.h103 bool IsUrlRegistered(const GURL& blob_url);
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/github_file_system/test_owner/repo/commits/
DHEAD87 …"blob_url": "https://github.com/GoogleChrome/chrome-app-samples/blob/c36fc23688a9ec9e264d3182905dc…
98 …"blob_url": "https://github.com/GoogleChrome/chrome-app-samples/blob/c36fc23688a9ec9e264d3182905dc…
109 …"blob_url": "https://github.com/GoogleChrome/chrome-app-samples/blob/c36fc23688a9ec9e264d3182905dc…
121 …"blob_url": "https://github.com/GoogleChrome/chrome-app-samples/blob/c36fc23688a9ec9e264d3182905dc…
133 …"blob_url": "https://github.com/GoogleChrome/chrome-app-samples/blob/c36fc23688a9ec9e264d3182905dc…
144 …"blob_url": "https://github.com/GoogleChrome/chrome-app-samples/blob/c36fc23688a9ec9e264d3182905dc…
155 …"blob_url": "https://github.com/GoogleChrome/chrome-app-samples/blob/c36fc23688a9ec9e264d3182905dc…
167 …"blob_url": "https://github.com/GoogleChrome/chrome-app-samples/blob/c36fc23688a9ec9e264d3182905dc…
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_backing_store.cc2273 const GURL& blob_url, in writeBlobToFileOnIOThread() argument
2284 DCHECK(blob_url.is_valid()); in writeBlobToFileOnIOThread()
2286 blob_url, net::DEFAULT_PRIORITY, delegate.get(), NULL)); in writeBlobToFileOnIOThread()