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

Side by Side Diff: third_party/WebKit/public/platform/modules/background_sync/WebSyncProvider.h

Issue 1763123002: [BackgroundSync] Remove BackgroundSyncRegistrationHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS7 Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebSyncProvider_h 5 #ifndef WebSyncProvider_h
6 #define WebSyncProvider_h 6 #define WebSyncProvider_h
7 7
8 #include "public/platform/WebCallbacks.h" 8 #include "public/platform/WebCallbacks.h"
9 #include "public/platform/WebCommon.h" 9 #include "public/platform/WebCommon.h"
10 #include "public/platform/WebPassOwnPtr.h" 10 #include "public/platform/WebPassOwnPtr.h"
(...skipping 12 matching lines...) Expand all
23 public: 23 public:
24 virtual ~WebSyncProvider() { } 24 virtual ~WebSyncProvider() { }
25 25
26 // Takes ownership of the WebSyncRegistrationCallbacks. 26 // Takes ownership of the WebSyncRegistrationCallbacks.
27 // Does not take ownership of the WebServiceWorkerRegistration. 27 // Does not take ownership of the WebServiceWorkerRegistration.
28 virtual void registerBackgroundSync(const WebSyncRegistration*, WebServiceWo rkerRegistration*, bool, WebSyncRegistrationCallbacks*) = 0; 28 virtual void registerBackgroundSync(const WebSyncRegistration*, WebServiceWo rkerRegistration*, bool, WebSyncRegistrationCallbacks*) = 0;
29 29
30 // Takes ownership of the WebSyncGetRegistrationsCallbacks. 30 // Takes ownership of the WebSyncGetRegistrationsCallbacks.
31 // Does not take ownership of the WebServiceWorkerRegistration. 31 // Does not take ownership of the WebServiceWorkerRegistration.
32 virtual void getRegistrations(WebServiceWorkerRegistration*, WebSyncGetRegis trationsCallbacks*) = 0; 32 virtual void getRegistrations(WebServiceWorkerRegistration*, WebSyncGetRegis trationsCallbacks*) = 0;
33
34 virtual void releaseRegistration(int64_t handleId) = 0;
35 }; 33 };
36 34
37 } // namespace blink 35 } // namespace blink
38 36
39 #endif // WebSyncProvider_h 37 #endif // WebSyncProvider_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698