| 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/WebPassOwnPtr.h" | |
| 10 | 9 |
| 11 namespace blink { | 10 namespace blink { |
| 12 | 11 |
| 13 struct WebServiceWorkerError; | 12 struct WebServiceWorkerError; |
| 14 | 13 |
| 15 using WebServiceWorkerClientsClaimCallbacks = WebCallbacks<void, WebPassOwnPtr<W
ebServiceWorkerError>>; | 14 using WebServiceWorkerClientsClaimCallbacks = WebCallbacks<void, const WebServic
eWorkerError&>; |
| 16 | 15 |
| 17 } // namespace blink | 16 } // namespace blink |
| 18 | 17 |
| 19 #endif // WebServiceWorkerClientsClaimCallbacks_h | 18 #endif // WebServiceWorkerClientsClaimCallbacks_h |
| OLD | NEW |