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

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

Issue 2394183003: Revert of Mojoify FetchEvent of Service Worker. (Closed)
Patch Set: Created 4 years, 2 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_traits.h
diff --git a/content/common/service_worker/service_worker_status_code_traits.h b/content/common/service_worker/service_worker_status_code_traits.h
deleted file mode 100644
index 98139c1becd5a0303f8ea40bdc438edcdc4e4661..0000000000000000000000000000000000000000
--- a/content/common/service_worker/service_worker_status_code_traits.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2016 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_COMMON_SERVICE_WORKER_SERVICE_WORKER_STATUS_CODE_TRAITS_H_
-#define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_STATUS_CODE_TRAITS_H_
-
-#include "content/common/service_worker/service_worker_status_code.h"
-#include "third_party/WebKit/public/platform/modules/serviceworker/service_worker_event_status.mojom.h"
-
-namespace mojo {
-
-template <>
-struct EnumTraits<blink::mojom::ServiceWorkerEventStatus,
- content::ServiceWorkerStatusCode> {
- static blink::mojom::ServiceWorkerEventStatus ToMojom(
- content::ServiceWorkerStatusCode input);
-
- static bool FromMojom(blink::mojom::ServiceWorkerEventStatus input,
- content::ServiceWorkerStatusCode* out);
-};
-
-} // namespace mojo
-
-#endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_STATUS_CODE_TRAITS_H_

Powered by Google App Engine
This is Rietveld 408576698