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

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

Issue 445883003: ServiceWorker: Consolidate version change messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove ctor/dtor Created 6 years, 4 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 de582e432d757f2c33d3a4f2548328d44fc4f61d..01afdba18aae3867913450451137201dc38d4973 100644
--- a/content/common/service_worker/service_worker_types.h
+++ b/content/common/service_worker/service_worker_types.h
@@ -85,9 +85,15 @@ struct CONTENT_EXPORT ServiceWorkerObjectInfo {
blink::WebServiceWorkerState state;
};
+struct ServiceWorkerVersionAttributes {
+ ServiceWorkerObjectInfo installing;
+ ServiceWorkerObjectInfo waiting;
+ ServiceWorkerObjectInfo active;
+};
+
class ChangedVersionAttributesMask {
public:
- enum {
+ enum AttributeType {
INSTALLING_VERSION = 1 << 0,
WAITING_VERSION = 1 << 1,
ACTIVE_VERSION = 1 << 2,

Powered by Google App Engine
This is Rietveld 408576698