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

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

Issue 771103002: Implement ServiceWorkerClient attributes [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 e7ea5f81939c69639cb3271b39d72643a1c711b3..16728b174ca742efb78b3bf961d1f0a422c9ba17 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -192,6 +192,14 @@ class ChangedVersionAttributesMask {
int changed_;
};
+struct ServiceWorkerClientInfo {
+ int client_id;
+ std::string visibility_state;
+ bool is_focused;
+ GURL url;
+ RequestContextFrameType frame_type;
+};
+
} // namespace content
#endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698