OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 WebServiceWorkerRegistration_h | 5 #ifndef WebServiceWorkerRegistration_h |
6 #define WebServiceWorkerRegistration_h | 6 #define WebServiceWorkerRegistration_h |
7 | 7 |
| 8 #include <memory> |
8 #include "public/platform/WebCallbacks.h" | 9 #include "public/platform/WebCallbacks.h" |
9 #include "public/platform/WebURL.h" | 10 #include "public/platform/WebURL.h" |
10 #include "public/platform/modules/serviceworker/WebServiceWorkerError.h" | 11 #include "public/platform/modules/serviceworker/WebServiceWorkerError.h" |
11 #include <memory> | |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 class WebServiceWorkerProvider; | 15 class WebServiceWorkerProvider; |
16 class WebServiceWorkerRegistrationProxy; | 16 class WebServiceWorkerRegistrationProxy; |
17 struct WebNavigationPreloadState; | 17 struct WebNavigationPreloadState; |
18 | 18 |
19 // The interface of the registration representation in the embedder. The | 19 // The interface of the registration representation in the embedder. The |
20 // embedder implements this interface and passes its handle | 20 // embedder implements this interface and passes its handle |
21 // (WebServiceWorkerRegistration::Handle) to Blink. Blink accesses the | 21 // (WebServiceWorkerRegistration::Handle) to Blink. Blink accesses the |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 std::unique_ptr<WebGetNavigationPreloadStateCallbacks>) {} | 67 std::unique_ptr<WebGetNavigationPreloadStateCallbacks>) {} |
68 virtual void setNavigationPreloadHeader( | 68 virtual void setNavigationPreloadHeader( |
69 const WebString& value, | 69 const WebString& value, |
70 WebServiceWorkerProvider*, | 70 WebServiceWorkerProvider*, |
71 std::unique_ptr<WebSetNavigationPreloadHeaderCallbacks>) {} | 71 std::unique_ptr<WebSetNavigationPreloadHeaderCallbacks>) {} |
72 }; | 72 }; |
73 | 73 |
74 } // namespace blink | 74 } // namespace blink |
75 | 75 |
76 #endif // WebServiceWorkerRegistration_h | 76 #endif // WebServiceWorkerRegistration_h |
OLD | NEW |