#ifndef content_protocol_ServiceWorker_h
#define content_protocol_ServiceWorker_h
#include "content/common/content_export.h"
#include "content/browser/devtools/protocol/protocol.h"
#include "content/browser/devtools/protocol/target.h"
namespace content {
namespace protocol {
namespace ServiceWorker {
RegistrationID;
class ServiceWorkerRegistration;
ServiceWorkerVersionRunningStatus;
ServiceWorkerVersionStatus;
class ServiceWorkerVersion;
class ServiceWorkerErrorMessage;
namespace ServiceWorkerVersionRunningStatusEnum {
CONTENT_EXPORT extern const char Stopped[];
CONTENT_EXPORT extern const char Starting[];
CONTENT_EXPORT extern const char Running[];
CONTENT_EXPORT extern const char Stopping[];
}
namespace ServiceWorkerVersionStatusEnum {
CONTENT_EXPORT extern const char New[];
CONTENT_EXPORT extern const char Installing[];
CONTENT_EXPORT extern const char Installed[];
CONTENT_EXPORT extern const char Activating[];
CONTENT_EXPORT extern const char Activated[];
CONTENT_EXPORT extern const char Redundant[];
}
class CONTENT_EXPORT ServiceWorkerRegistration : public ::crdtp::ProtocolObject<ServiceWorkerRegistration> { … };
class CONTENT_EXPORT ServiceWorkerVersion : public ::crdtp::ProtocolObject<ServiceWorkerVersion> { … };
class CONTENT_EXPORT ServiceWorkerErrorMessage : public ::crdtp::ProtocolObject<ServiceWorkerErrorMessage> { … };
class CONTENT_EXPORT Backend { … };
class CONTENT_EXPORT Frontend { … };
class CONTENT_EXPORT Dispatcher { … };
class CONTENT_EXPORT Metainfo { … };
}
}
}
#endif