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

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

Issue 1597383002: Service Worker: (Re-commit) Add FetchEvent.clientId (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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 3f9c546676ab9b936464357f1a2af060acabceaf..d3a9f8f2a990403886a296edd1faa053eb677495 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -126,6 +126,7 @@ struct CONTENT_EXPORT ServiceWorkerFetchRequest {
~ServiceWorkerFetchRequest();
FetchRequestMode mode;
+ bool is_main_resource_load;
RequestContextType request_context_type;
RequestContextFrameType frame_type;
GURL url;
@@ -136,6 +137,7 @@ struct CONTENT_EXPORT ServiceWorkerFetchRequest {
Referrer referrer;
FetchCredentialsMode credentials_mode;
FetchRedirectMode redirect_mode;
+ std::string client_id;
bool is_reload;
};

Powered by Google App Engine
This is Rietveld 408576698