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

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

Issue 554573002: SWRegistration::unregister returns false when the registration is already unregistered. (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_status_code.h
diff --git a/content/common/service_worker/service_worker_status_code.h b/content/common/service_worker/service_worker_status_code.h
index a0245e48e10feabbe48edc800c6badbea8adfbc4..2acaf70825a641863c3a466edb34414cc48c47ce 100644
--- a/content/common/service_worker/service_worker_status_code.h
+++ b/content/common/service_worker/service_worker_status_code.h
@@ -42,6 +42,9 @@ enum ServiceWorkerStatusCode {
// Sending an IPC to the worker failed (often due to child process is
// terminated).
SERVICE_WORKER_ERROR_IPC_FAILED,
+
+ // This must be the latest element used in IPC
+ SERVICE_WORKER_STATUS_LAST = SERVICE_WORKER_ERROR_IPC_FAILED
};
CONTENT_EXPORT const char* ServiceWorkerStatusToString(

Powered by Google App Engine
This is Rietveld 408576698