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

Unified Diff: content/public/common/resource_response_info.h

Issue 659573006: [ServiceWorker] pipe ServiceWorkerResponseType [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix error 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 | « content/common/resource_messages.h ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response_info.h
diff --git a/content/public/common/resource_response_info.h b/content/public/common/resource_response_info.h
index 6081b16c8f177ca9c0c5c16195ef4a0f034789ad..530952c2d401d27cd74539f75b997b3a3f5741fa 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -17,6 +17,7 @@
#include "net/base/load_timing_info.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_response_info.h"
+#include "third_party/WebKit/public/platform/WebServiceWorkerResponseType.h"
#include "url/gurl.h"
namespace content {
@@ -112,6 +113,9 @@ struct ResourceResponseInfo {
// This may be empty if the response was created inside the ServiceWorker.
GURL original_url_via_service_worker;
+ // The type of the response which was fetched by the ServiceWorker.
+ blink::WebServiceWorkerResponseType response_type_via_service_worker;
+
// ServiceWorker Timing Information. These will be set if the response is
// provided by the ServiceWorker, or kept empty.
base::TimeTicks service_worker_fetch_start;
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698