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

Unified Diff: content/child/request_info.h

Issue 623663002: [ServiceWorker] pipe RequestContext and FrameType to ServiceWorker. [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: request_info.cc 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/child/request_info.h
diff --git a/content/child/request_info.h b/content/child/request_info.h
index b1bb524a05df4337e435f961cccbe5d7b4031863..7255244a45be3a86c00f0f859c405ff4c8143563 100644
--- a/content/child/request_info.h
+++ b/content/child/request_info.h
@@ -11,6 +11,8 @@
#include "content/common/content_export.h"
#include "content/common/service_worker/service_worker_types.h"
+#include "content/public/common/request_context_frame_type.h"
+#include "content/public/common/request_context_type.h"
#include "content/public/common/resource_type.h"
#include "net/base/request_priority.h"
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
@@ -56,6 +58,8 @@ struct CONTENT_EXPORT RequestInfo {
// Indicates if the current request is the main frame load, a sub-frame
// load, or a sub objects load.
ResourceType request_type;
+ RequestContextType fetch_request_context_type;
+ RequestContextFrameType fetch_frame_type;
// Indicates the priority of this request, as determined by WebKit.
net::RequestPriority priority;
« no previous file with comments | « content/browser/service_worker/service_worker_url_request_job_unittest.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698