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

Unified Diff: third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h

Issue 2473483012: Move content/child/background_sync to Blink. (Closed)
Patch Set: Update OWNERS to make presubmit happy 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: third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h
diff --git a/third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h b/third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h
deleted file mode 100644
index 857c6a6f3ebd6b1935c9c811bb21b6be04f99c20..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h
+++ /dev/null
@@ -1,42 +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 WebSyncRegistration_h
-#define WebSyncRegistration_h
-
-#include "public/platform/WebPrivatePtr.h"
-#include "public/platform/WebString.h"
-
-namespace blink {
-
-struct WebSyncRegistration {
- enum NetworkState {
- NetworkStateAny = 0,
- NetworkStateAvoidCellular,
- NetworkStateOnline,
- NetworkStateLast = NetworkStateOnline
- };
-
- enum { UNREGISTERED_SYNC_ID = -1 };
-
- WebSyncRegistration()
- : id(UNREGISTERED_SYNC_ID),
- tag(""),
- networkState(NetworkState::NetworkStateOnline) {}
-
- WebSyncRegistration(int64_t id,
- const WebString& registrationTag,
- NetworkState networkState)
- : id(id), tag(registrationTag), networkState(networkState) {}
-
- /* Internal identity; not exposed to JS API. */
- int64_t id;
-
- WebString tag;
- NetworkState networkState;
-};
-
-} // namespace blink
-
-#endif // WebSyncRegistration_h

Powered by Google App Engine
This is Rietveld 408576698