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

Unified Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponse.h

Issue 2892953006: WIP POC blob transport over mojo
Patch Set: pass mojo blobs over ipc Created 3 years, 7 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 | « third_party/WebKit/public/platform/blobs.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponse.h
diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponse.h b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponse.h
index 8241b9668ee09efe69201c686beca00696aeab65..aad22026735a673e317d8931a3930ea726d9bbb7 100644
--- a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponse.h
+++ b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponse.h
@@ -10,6 +10,7 @@
#include "public/platform/WebString.h"
#include "public/platform/WebURL.h"
#include "public/platform/WebVector.h"
+#include "public/platform/blobs.mojom.h"
#include "public/platform/modules/serviceworker/WebServiceWorkerResponseError.h"
#include "public/platform/modules/serviceworker/WebServiceWorkerResponseType.h"
@@ -69,6 +70,7 @@ class BLINK_PLATFORM_EXPORT WebServiceWorkerResponse {
void SetBlob(const WebString& uuid, uint64_t size);
WebString BlobUUID() const;
uint64_t BlobSize() const;
+ storage::mojom::BlobPtr CloneBlob() const;
// Provides a more detailed error when status() is zero.
void SetError(WebServiceWorkerResponseError);
« no previous file with comments | « third_party/WebKit/public/platform/blobs.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698