| Index: public/platform/WebGeofencingProvider.h
|
| diff --git a/public/platform/WebGeofencingProvider.h b/public/platform/WebGeofencingProvider.h
|
| index b710bc813a7afa3b2cb62efdd5221f8b54f416c1..d8edcbf48c0486fb11c3596c44f3e1f9cb5fad30 100644
|
| --- a/public/platform/WebGeofencingProvider.h
|
| +++ b/public/platform/WebGeofencingProvider.h
|
| @@ -13,6 +13,7 @@ namespace blink {
|
| struct WebCircularGeofencingRegion;
|
| struct WebGeofencingError;
|
| struct WebGeofencingRegistration;
|
| +class WebServiceWorkerRegistration;
|
| class WebString;
|
|
|
| typedef WebCallbacks<void, WebGeofencingError> WebGeofencingCallbacks;
|
| @@ -24,15 +25,18 @@ public:
|
|
|
| // Registers a region.
|
| // Ownership of the WebGeofencingCallbacks is transferred to the client.
|
| - virtual void registerRegion(const WebString& regionId, const WebCircularGeofencingRegion&, WebGeofencingCallbacks*) = 0;
|
| + virtual void registerRegion(const WebString& regionId, const WebCircularGeofencingRegion&, WebGeofencingCallbacks*) { }
|
| + virtual void registerRegion(const WebString& regionId, const WebCircularGeofencingRegion&, WebServiceWorkerRegistration*, WebGeofencingCallbacks*) { }
|
|
|
| // Unregisters a region.
|
| // Ownership of the WebGeofencingCallbacks is transferred to the client.
|
| - virtual void unregisterRegion(const WebString& regionId, WebGeofencingCallbacks*) = 0;
|
| + virtual void unregisterRegion(const WebString& regionId, WebGeofencingCallbacks*) { }
|
| + virtual void unregisterRegion(const WebString& regionId, WebServiceWorkerRegistration*, WebGeofencingCallbacks*) { }
|
|
|
| // Returns all the currently registered regions.
|
| // Ownership of the WebGeofencingRegionsCallbacks is transferred to the client.
|
| - virtual void getRegisteredRegions(WebGeofencingRegionsCallbacks*) = 0;
|
| + virtual void getRegisteredRegions(WebGeofencingRegionsCallbacks*) { }
|
| + virtual void getRegisteredRegions(WebServiceWorkerRegistration*, WebGeofencingRegionsCallbacks*) { }
|
| };
|
|
|
| } // namespace blink
|
|
|