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

Unified Diff: content/common/service_worker/service_worker_types.h

Issue 622833002: ServiceWorkerCache: Support response body in blob form. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opacity
Patch Set: Rebase 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
Index: content/common/service_worker/service_worker_types.h
diff --git a/content/common/service_worker/service_worker_types.h b/content/common/service_worker/service_worker_types.h
index e9d4370934044a9c4579f3dedced21dc2cdec0cf..36ad372b60dd19e07c07e882868bea2299eadd82 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -101,7 +101,8 @@ struct CONTENT_EXPORT ServiceWorkerResponse {
const std::string& status_text,
blink::WebServiceWorkerResponseType response_type,
const ServiceWorkerHeaderMap& headers,
- const std::string& blob_uuid);
+ const std::string& blob_uuid,
+ uint64 blob_size);
~ServiceWorkerResponse();
GURL url;
@@ -110,6 +111,7 @@ struct CONTENT_EXPORT ServiceWorkerResponse {
blink::WebServiceWorkerResponseType response_type;
ServiceWorkerHeaderMap headers;
std::string blob_uuid;
+ uint64 blob_size;
};
// Controls how requests are matched in the Cache API.
« no previous file with comments | « content/common/service_worker/service_worker_messages.h ('k') | content/common/service_worker/service_worker_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698