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

Unified Diff: content/child/background_sync/background_sync_type_converters.h

Issue 2517223002: Move content/renderer/background_sync to Blink (Closed)
Patch Set: Fix broken WebEmbeddedWorker test Created 4 years, 1 month 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/child/background_sync/background_sync_type_converters.h
diff --git a/content/child/background_sync/background_sync_type_converters.h b/content/child/background_sync/background_sync_type_converters.h
deleted file mode 100644
index 4cc396a5e29a264a65dc50e26b9bf080e6f7bf69..0000000000000000000000000000000000000000
--- a/content/child/background_sync/background_sync_type_converters.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2015 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_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_TYPE_CONVERTERS_H_
-#define CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_TYPE_CONVERTERS_H_
-
-#include <memory>
-
-#include "content/common/content_export.h"
-#include "mojo/public/cpp/bindings/type_converter.h"
-#include "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h"
-#include "third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h"
-
-namespace mojo {
-
-// blink::WebSyncRegistration::NetworkState <=>
-// blink::mojom::BackgroundSyncNetworkState
-
-template <>
-struct CONTENT_EXPORT
- TypeConverter<blink::WebServiceWorkerContextProxy::LastChanceOption,
- blink::mojom::BackgroundSyncEventLastChance> {
- static blink::WebServiceWorkerContextProxy::LastChanceOption Convert(
- blink::mojom::BackgroundSyncEventLastChance input);
-};
-
-template <>
-struct CONTENT_EXPORT
- TypeConverter<blink::mojom::BackgroundSyncEventLastChance,
- blink::WebServiceWorkerContextProxy::LastChanceOption> {
- static blink::mojom::BackgroundSyncEventLastChance Convert(
- blink::WebServiceWorkerContextProxy::LastChanceOption input);
-};
-
-} // namespace mojo
-
-#endif // CONTENT_CHILD_BACKGROUND_SYNC_BACKGROUND_SYNC_TYPE_CONVERTERS_H_
« no previous file with comments | « content/child/background_sync/PRESUBMIT.py ('k') | content/child/background_sync/background_sync_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698