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

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

Issue 1108273002: Add Client Attribute to FetchEvent- Chromium Side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 6e235a77a4b9e4111a689f1d2dfa0588fb7acf65..918ad65ac4ecc7e8db6542b5c857a5c3706e8a49 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/strings/string_util.h"
#include "content/common/content_export.h"
+#include "content/common/service_worker/service_worker_client_info.h"
#include "content/public/common/referrer.h"
#include "content/public/common/request_context_frame_type.h"
#include "content/public/common/request_context_type.h"
@@ -106,7 +107,8 @@ struct CONTENT_EXPORT ServiceWorkerFetchRequest {
const std::string& method,
const ServiceWorkerHeaderMap& headers,
const Referrer& referrer,
- bool is_reload);
+ bool is_reload,
+ const ServiceWorkerClientInfo& client);
~ServiceWorkerFetchRequest();
FetchRequestMode mode;
@@ -120,6 +122,7 @@ struct CONTENT_EXPORT ServiceWorkerFetchRequest {
Referrer referrer;
FetchCredentialsMode credentials_mode;
bool is_reload;
+ ServiceWorkerClientInfo client;
};
// Represents a response to a fetch.
« 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