Chromium Code Reviews| Index: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistration.h |
| diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistration.h b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistration.h |
| index d2f45a960bfdcf9dd1e199347e68b7a1b2e75573..0b13296bb6e6998f592369c4f581b115d2fc1618 100644 |
| --- a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistration.h |
| +++ b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRegistration.h |
| @@ -8,6 +8,8 @@ |
| #include "public/platform/WebCallbacks.h" |
| #include "public/platform/WebURL.h" |
| #include "public/platform/modules/serviceworker/WebServiceWorkerError.h" |
| +#include <memory> |
| +#include <utility> |
|
danakj
2016/11/30 00:34:01
no utility needed here this file doesnt use move()
|
| namespace blink { |
| @@ -52,9 +54,10 @@ class WebServiceWorkerRegistration { |
| virtual WebURL scope() const { return WebURL(); } |
| virtual int64_t registrationId() const = 0; |
| virtual void update(WebServiceWorkerProvider*, |
| - WebServiceWorkerUpdateCallbacks*) {} |
| - virtual void unregister(WebServiceWorkerProvider*, |
| - WebServiceWorkerUnregistrationCallbacks*) {} |
| + std::unique_ptr<WebServiceWorkerUpdateCallbacks>) {} |
| + virtual void unregister( |
| + WebServiceWorkerProvider*, |
| + std::unique_ptr<WebServiceWorkerUnregistrationCallbacks>) {} |
| virtual void enableNavigationPreload( |
| bool enable, |