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

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

Issue 2473483012: Move content/child/background_sync to Blink. (Closed)
Patch Set: Fix nits 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
index 952d50d0c1c32d7dad988f0f5009502d6638ea5d..974f31a4457990e3a191ae1a61d3ea4d909ae8c0 100644
--- a/content/child/background_sync/background_sync_type_converters.h
+++ b/content/child/background_sync/background_sync_type_converters.h
@@ -10,7 +10,6 @@
#include "content/common/content_export.h"
#include "mojo/public/cpp/bindings/type_converter.h"
#include "third_party/WebKit/public/platform/modules/background_sync/WebSyncError.h"
-#include "third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h"
#include "third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h"
#include "third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h"
@@ -20,40 +19,6 @@ namespace mojo {
// blink::mojom::BackgroundSyncNetworkState
template <>
-struct CONTENT_EXPORT TypeConverter<blink::WebSyncRegistration::NetworkState,
- blink::mojom::BackgroundSyncNetworkState> {
- static blink::WebSyncRegistration::NetworkState Convert(
- blink::mojom::BackgroundSyncNetworkState input);
-};
-
-template <>
-struct CONTENT_EXPORT TypeConverter<blink::mojom::BackgroundSyncNetworkState,
- blink::WebSyncRegistration::NetworkState> {
- static blink::mojom::BackgroundSyncNetworkState Convert(
- blink::WebSyncRegistration::NetworkState input);
-};
-
-// blink::WebSyncRegistration <=>
-// blink::mojom::SyncRegistration
-
-template <>
-struct CONTENT_EXPORT TypeConverter<std::unique_ptr<blink::WebSyncRegistration>,
- blink::mojom::SyncRegistrationPtr> {
- static std::unique_ptr<blink::WebSyncRegistration> Convert(
- const blink::mojom::SyncRegistrationPtr& input);
-};
-
-template <>
-struct CONTENT_EXPORT TypeConverter<blink::mojom::SyncRegistrationPtr,
- blink::WebSyncRegistration> {
- static blink::mojom::SyncRegistrationPtr Convert(
- const blink::WebSyncRegistration& input);
-};
-
-// blink::WebServiceWorkerContextProxy::LastChanceOption <=>
-// blink::mojom::BackgroundSyncEventLastChance
-
-template <>
struct CONTENT_EXPORT
TypeConverter<blink::WebServiceWorkerContextProxy::LastChanceOption,
blink::mojom::BackgroundSyncEventLastChance> {

Powered by Google App Engine
This is Rietveld 408576698