| Index: content/browser/service_worker/service_worker_registration_status.h
|
| diff --git a/content/browser/service_worker/service_worker_registration_status.h b/content/browser/service_worker/service_worker_registration_status.h
|
| index 1676b495cde92e82d4b1940affee6337308b7459..8cffd5628e92202d7b04f3e813f3fb8ef32d5632 100644
|
| --- a/content/browser/service_worker/service_worker_registration_status.h
|
| +++ b/content/browser/service_worker/service_worker_registration_status.h
|
| @@ -6,21 +6,14 @@
|
| #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_STATUS_H_
|
|
|
| #include "base/strings/string16.h"
|
| +#include "content/common/service_worker/service_worker_status_code.h"
|
| #include "third_party/WebKit/public/platform/WebServiceWorkerError.h"
|
|
|
| namespace content {
|
|
|
| -// This enum describes the reason a registration or unregistration succeeds or
|
| -// fails.
|
| -enum ServiceWorkerRegistrationStatus {
|
| - REGISTRATION_OK,
|
| - REGISTRATION_INSTALL_FAILED,
|
| - REGISTRATION_ACTIVATE_FAILED,
|
| -};
|
| -
|
| -// This should only be called for errors, where status != REGISTRATION_OK.
|
| +// This should only be called for errors, where status != OK.
|
| void GetServiceWorkerRegistrationStatusResponse(
|
| - ServiceWorkerRegistrationStatus status,
|
| + ServiceWorkerStatusCode status,
|
| blink::WebServiceWorkerError::ErrorType* error_type,
|
| base::string16* message);
|
|
|
|
|