Chromium Code Reviews| 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 |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0f874003dba5e5fb99dbfe08ceeaafcac723c1e2 |
| --- /dev/null |
| +++ b/content/browser/service_worker/service_worker_registration_status.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_STATUS_H_ |
| +#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_STATUS_H_ |
| + |
| +namespace content { |
| + |
| +// This enum is used to describe the final state of a ServiceWorkerRegistration. |
| +enum ServiceWorkerRegistrationStatus { |
| + REGISTRATION_OK, |
| + REGISTRATION_NOT_FOUND, |
| + REGISTRATION_INSTALL_FAILED, |
| + REGISTRATION_ACTIVATE_FAILED, |
| + REGISTER_FAILED, |
|
kinuko
2013/12/04 13:04:29
REGISTRATION_FAILED to be consistent?
alecflett
2013/12/06 05:43:33
Done.
|
| +}; |
| + |
| +} // namespace |
| + |
| +#endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_REGISTRATION_STATUS_H_ |