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

Unified Diff: content/common/service_worker/service_worker_type_converters.cc

Issue 1960843002: [OnionSoup] Move background_sync.mojom from //content to //third_party/WebKit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address dcheng@'s comment Created 4 years, 7 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_type_converters.cc
diff --git a/content/common/service_worker/service_worker_type_converters.cc b/content/common/service_worker/service_worker_type_converters.cc
index b752e142772ae35c1d255f40c4ec6c19e5bb2863..dccda08bd6794b593f2e6b1f1f33e93027685bc1 100644
--- a/content/common/service_worker/service_worker_type_converters.cc
+++ b/content/common/service_worker/service_worker_type_converters.cc
@@ -12,14 +12,14 @@ namespace mojo {
// static cast.
content::ServiceWorkerStatusCode
TypeConverter<content::ServiceWorkerStatusCode,
- content::mojom::ServiceWorkerEventStatus>::
- Convert(content::mojom::ServiceWorkerEventStatus status) {
+ blink::mojom::ServiceWorkerEventStatus>::
+ Convert(blink::mojom::ServiceWorkerEventStatus status) {
content::ServiceWorkerStatusCode status_code;
- if (status == content::mojom::ServiceWorkerEventStatus::COMPLETED) {
+ if (status == blink::mojom::ServiceWorkerEventStatus::COMPLETED) {
status_code = content::SERVICE_WORKER_OK;
- } else if (status == content::mojom::ServiceWorkerEventStatus::REJECTED) {
+ } else if (status == blink::mojom::ServiceWorkerEventStatus::REJECTED) {
status_code = content::SERVICE_WORKER_ERROR_EVENT_WAITUNTIL_REJECTED;
- } else if (status == content::mojom::ServiceWorkerEventStatus::ABORTED) {
+ } else if (status == blink::mojom::ServiceWorkerEventStatus::ABORTED) {
status_code = content::SERVICE_WORKER_ERROR_ABORT;
} else {
// We received an unexpected value back. This can theoretically happen as
« no previous file with comments | « content/common/service_worker/service_worker_type_converters.h ('k') | content/content_common_mojo_bindings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698