summaryrefslogtreecommitdiffstats
path: root/content/child/geofencing
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-09-25 21:31:19 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-26 04:32:11 +0000
commit5c2a531f8ab6f154040f5fcb0bfc05df7799fffa (patch)
tree97bb0043622e0486010cd3d10e45519f997097ce /content/child/geofencing
parent133975787bb4503fa16b7c5bd8941d064c687cc9 (diff)
downloadchromium_src-5c2a531f8ab6f154040f5fcb0bfc05df7799fffa.zip
chromium_src-5c2a531f8ab6f154040f5fcb0bfc05df7799fffa.tar.gz
chromium_src-5c2a531f8ab6f154040f5fcb0bfc05df7799fffa.tar.bz2
Enforce marking "override" for functions overriding Blink in content/child/.
BUG=535367 TEST=it all stays working Review URL: https://codereview.chromium.org/1369043002 Cr-Commit-Position: refs/heads/master@{#350982}
Diffstat (limited to 'content/child/geofencing')
-rw-r--r--content/child/geofencing/web_geofencing_provider_impl.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/content/child/geofencing/web_geofencing_provider_impl.h b/content/child/geofencing/web_geofencing_provider_impl.h
index f109818..bb45c03 100644
--- a/content/child/geofencing/web_geofencing_provider_impl.h
+++ b/content/child/geofencing/web_geofencing_provider_impl.h
@@ -18,7 +18,7 @@ class CONTENT_EXPORT WebGeofencingProviderImpl
: NON_EXPORTED_BASE(public blink::WebGeofencingProvider) {
public:
explicit WebGeofencingProviderImpl(ThreadSafeSender* thread_safe_sender);
- virtual ~WebGeofencingProviderImpl();
+ ~WebGeofencingProviderImpl() override;
// Enables mock geofencing service. |service_available| indicates if the
// mock service should mock geofencing being available or not.
@@ -30,18 +30,18 @@ class CONTENT_EXPORT WebGeofencingProviderImpl
private:
// WebGeofencingProvider implementation.
- virtual void registerRegion(
+ void registerRegion(
const blink::WebString& regionId,
const blink::WebCircularGeofencingRegion& region,
blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingCallbacks* callbacks);
- virtual void unregisterRegion(
+ blink::WebGeofencingCallbacks* callbacks) override;
+ void unregisterRegion(
const blink::WebString& regionId,
blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingCallbacks* callbacks);
- virtual void getRegisteredRegions(
+ blink::WebGeofencingCallbacks* callbacks) override;
+ void getRegisteredRegions(
blink::WebServiceWorkerRegistration* service_worker_registration,
- blink::WebGeofencingRegionsCallbacks* callbacks);
+ blink::WebGeofencingRegionsCallbacks* callbacks) override;
GeofencingDispatcher* GetDispatcher();