| OLD | NEW |
| 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 WebServiceWorkerClientsClaimCallbacks_h | 5 #ifndef WebServiceWorkerClientsClaimCallbacks_h |
| 6 #define WebServiceWorkerClientsClaimCallbacks_h | 6 #define WebServiceWorkerClientsClaimCallbacks_h |
| 7 | 7 |
| 8 #include "public/platform/WebCallbacks.h" | 8 #include "public/platform/WebCallbacks.h" |
| 9 #include "public/platform/WebPrivateOwnPtr.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 12 struct WebServiceWorkerError; | 13 struct WebServiceWorkerError; |
| 13 | 14 |
| 14 using WebServiceWorkerClientsClaimCallbacks = WebCallbacks<void, WebServiceWorke
rError*>; | 15 using WebServiceWorkerClientsClaimCallbacks = WebCallbacks<void, WebPrivateOwnPt
r<WebServiceWorkerError>&&>; |
| 15 | 16 |
| 16 } // namespace blink | 17 } // namespace blink |
| 17 | 18 |
| 18 #endif // WebServiceWorkerClientsClaimCallbacks_h | 19 #endif // WebServiceWorkerClientsClaimCallbacks_h |
| OLD | NEW |