| Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| index 319a529c30b9579cacbe7abb6fca83ec2d640b53..d1e44db90d17294644b5e970d13e5973e986ad5d 100644
|
| --- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| +++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| @@ -33,10 +33,11 @@
|
|
|
| #include "public/platform/WebGeofencingEventType.h"
|
| #include "public/platform/WebMessagePortChannel.h"
|
| -#include "public/platform/WebPassOwnPtr.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorker.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h"
|
|
|
| +#include <memory>
|
| +
|
| namespace blink {
|
|
|
| class WebServiceWorkerRequest;
|
| @@ -51,11 +52,11 @@ class WebServiceWorkerContextProxy {
|
| public:
|
| virtual ~WebServiceWorkerContextProxy() { }
|
|
|
| - virtual void setRegistration(WebPassOwnPtr<WebServiceWorkerRegistration::Handle>) = 0;
|
| + virtual void setRegistration(std::unique_ptr<WebServiceWorkerRegistration::Handle>) = 0;
|
|
|
| virtual void dispatchActivateEvent(int eventID) = 0;
|
| virtual void dispatchExtendableMessageEvent(int eventID, const WebString& message, const WebSecurityOrigin& sourceOrigin, const WebMessagePortChannelArray&, const WebServiceWorkerClientInfo&) = 0;
|
| - virtual void dispatchExtendableMessageEvent(int eventID, const WebString& message, const WebSecurityOrigin& sourceOrigin, const WebMessagePortChannelArray&, WebPassOwnPtr<WebServiceWorker::Handle>) = 0;
|
| + virtual void dispatchExtendableMessageEvent(int eventID, const WebString& message, const WebSecurityOrigin& sourceOrigin, const WebMessagePortChannelArray&, std::unique_ptr<WebServiceWorker::Handle>) = 0;
|
| virtual void dispatchInstallEvent(int eventID) = 0;
|
| virtual void dispatchFetchEvent(int eventID, const WebServiceWorkerRequest& webRequest) = 0;
|
| virtual void dispatchForeignFetchEvent(int eventID, const WebServiceWorkerRequest& webRequest) = 0;
|
|
|