Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/background_sync/WebSyncProvider.h |
| diff --git a/third_party/WebKit/public/platform/modules/background_sync/WebSyncProvider.h b/third_party/WebKit/public/platform/modules/background_sync/WebSyncProvider.h |
| deleted file mode 100644 |
| index da85b15bc55e78a9348d4191946ea81ce101c405..0000000000000000000000000000000000000000 |
| --- a/third_party/WebKit/public/platform/modules/background_sync/WebSyncProvider.h |
| +++ /dev/null |
| @@ -1,43 +0,0 @@ |
| -// Copyright 2015 The Chromium Authors. All rights reserved. |
|
jbroman
2016/11/05 22:51:08
third_party/WebKit/public/BUILD.gn should be updat
adithyas
2016/11/07 19:22:54
Done.
|
| -// Use of this source code is governed by a BSD-style license that can be |
| -// found in the LICENSE file. |
| - |
| -#ifndef WebSyncProvider_h |
| -#define WebSyncProvider_h |
| - |
| -#include "public/platform/WebCallbacks.h" |
| -#include "public/platform/WebCommon.h" |
| -#include "public/platform/WebString.h" |
| -#include "public/platform/WebVector.h" |
| -#include "public/platform/modules/background_sync/WebSyncError.h" |
| -#include "public/platform/modules/background_sync/WebSyncRegistration.h" |
| - |
| -#include <memory> |
| - |
| -namespace blink { |
| - |
| -class WebServiceWorkerRegistration; |
| -using WebSyncRegistrationCallbacks = |
| - WebCallbacks<std::unique_ptr<WebSyncRegistration>, const WebSyncError&>; |
| -using WebSyncGetRegistrationsCallbacks = |
| - WebCallbacks<const WebVector<WebSyncRegistration*>&, const WebSyncError&>; |
| - |
| -class WebSyncProvider { |
| - public: |
| - virtual ~WebSyncProvider() {} |
| - |
| - // Takes ownership of the WebSyncRegistrationCallbacks. |
| - // Does not take ownership of the WebServiceWorkerRegistration. |
| - virtual void registerBackgroundSync(const WebSyncRegistration*, |
| - WebServiceWorkerRegistration*, |
| - WebSyncRegistrationCallbacks*) = 0; |
| - |
| - // Takes ownership of the WebSyncGetRegistrationsCallbacks. |
| - // Does not take ownership of the WebServiceWorkerRegistration. |
| - virtual void getRegistrations(WebServiceWorkerRegistration*, |
| - WebSyncGetRegistrationsCallbacks*) = 0; |
| -}; |
| - |
| -} // namespace blink |
| - |
| -#endif // WebSyncProvider_h |