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

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

Issue 1750333002: Reland of Pipe response_time from FetchManager to CacheStorage and ServiceWorkerURLRequestJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 e332f1ca05ba7b514d88b0590f054c78019f5552..b4d49b23383bf4d6756f0f8e39192c45a494d473 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -11,6 +11,7 @@
#include <string>
#include "base/strings/string_util.h"
+#include "base/time/time.h"
#include "content/common/content_export.h"
#include "content/public/common/referrer.h"
#include "content/public/common/request_context_frame_type.h"
@@ -160,7 +161,8 @@
const std::string& blob_uuid,
uint64_t blob_size,
const GURL& stream_url,
- blink::WebServiceWorkerResponseError error);
+ blink::WebServiceWorkerResponseError error,
+ base::Time response_time);
ServiceWorkerResponse(const ServiceWorkerResponse& other);
~ServiceWorkerResponse();
@@ -173,6 +175,7 @@
uint64_t blob_size;
GURL stream_url;
blink::WebServiceWorkerResponseError error;
+ base::Time response_time;
};
// Represents initialization info for a WebServiceWorker object.
« 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