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

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

Issue 475333002: [ServiceWorker] Sends the blob uuid of the request body to the ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove outdated TODO comment Created 6 years, 4 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 c29dcabe47d79e1fed5cfdd083180229a05efca1..41052a5cc4712fd3339108ceceaa6779575def01 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -42,8 +42,6 @@ enum ServiceWorkerFetchEventResult {
};
// To dispatch fetch request from browser to child process.
-// TODO(kinuko): This struct will definitely need more fields and
-// we'll probably want to have response struct/class too.
struct CONTENT_EXPORT ServiceWorkerFetchRequest {
ServiceWorkerFetchRequest();
ServiceWorkerFetchRequest(const GURL& url,
@@ -56,6 +54,8 @@ struct CONTENT_EXPORT ServiceWorkerFetchRequest {
GURL url;
std::string method;
std::map<std::string, std::string> headers;
+ std::string blob_uuid;
+ uint64 blob_size;
GURL referrer;
bool is_reload;
};

Powered by Google App Engine
This is Rietveld 408576698