Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: public/platform/WebServiceWorkerResponse.h

Issue 623753002: Let the client (browser) set blobs in WebServiceWorkerResponse. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@opacity
Patch Set: Use uint64_t for blob size Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/exported/WebServiceWorkerResponse.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorkerResponse.h
diff --git a/public/platform/WebServiceWorkerResponse.h b/public/platform/WebServiceWorkerResponse.h
index addcbfe2ae5d559b06372a2a2e97b2bf800f2ab9..2ff79de72a7ec3025acc2cefadbac3177fb13f6e 100644
--- a/public/platform/WebServiceWorkerResponse.h
+++ b/public/platform/WebServiceWorkerResponse.h
@@ -64,7 +64,9 @@ public:
WebString getHeader(const WebString& key) const;
void visitHTTPHeaderFields(WebHTTPHeaderVisitor*) const;
+ void setBlob(const WebString& uuid, uint64_t size);
WebString blobUUID() const;
+ uint64_t blobSize() const;
#if INSIDE_BLINK
const HTTPHeaderMap& headers() const;
« no previous file with comments | « Source/platform/exported/WebServiceWorkerResponse.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698