summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-28 20:00:01 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-28 20:00:01 +0000
commit5d536b83c1b3aedea54a062085114e3101b32d52 (patch)
tree3fcfdb5a2a3b789a7af5b169df8b0b248ecf33d4 /content/browser/geolocation
parent63500306b4fd634b340d227964449ec4fd13bda7 (diff)
downloadchromium_src-5d536b83c1b3aedea54a062085114e3101b32d52.zip
chromium_src-5d536b83c1b3aedea54a062085114e3101b32d52.tar.gz
chromium_src-5d536b83c1b3aedea54a062085114e3101b32d52.tar.bz2
Add OVERRIDE to content/.
BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8678021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111755 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r--content/browser/geolocation/gps_location_provider_linux.h11
-rw-r--r--content/browser/geolocation/wifi_data_provider_linux.h5
-rw-r--r--content/browser/geolocation/win7_location_provider_win.h11
3 files changed, 15 insertions, 12 deletions
diff --git a/content/browser/geolocation/gps_location_provider_linux.h b/content/browser/geolocation/gps_location_provider_linux.h
index 0c1cac3..cda7337 100644
--- a/content/browser/geolocation/gps_location_provider_linux.h
+++ b/content/browser/geolocation/gps_location_provider_linux.h
@@ -11,6 +11,7 @@
#define CONTENT_BROWSER_GEOLOCATION_GPS_LOCATION_PROVIDER_LINUX_H_
#pragma once
+#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task.h"
@@ -44,11 +45,11 @@ class CONTENT_EXPORT GpsLocationProviderLinux : public LocationProviderBase {
}
// LocationProvider
- virtual bool StartProvider(bool high_accuracy);
- virtual void StopProvider();
- virtual void GetPosition(Geoposition* position);
- virtual void UpdatePosition();
- virtual void OnPermissionGranted(const GURL& requesting_frame);
+ virtual bool StartProvider(bool high_accuracy) OVERRIDE;
+ virtual void StopProvider() OVERRIDE;
+ virtual void GetPosition(Geoposition* position) OVERRIDE;
+ virtual void UpdatePosition() OVERRIDE;
+ virtual void OnPermissionGranted(const GURL& requesting_frame) OVERRIDE;
private:
// Task which run in the child thread.
diff --git a/content/browser/geolocation/wifi_data_provider_linux.h b/content/browser/geolocation/wifi_data_provider_linux.h
index fa92ce9..133f5e7 100644
--- a/content/browser/geolocation/wifi_data_provider_linux.h
+++ b/content/browser/geolocation/wifi_data_provider_linux.h
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
#pragma once
+#include "base/compiler_specific.h"
#include "content/browser/geolocation/wifi_data_provider_common.h"
#include "content/common/content_export.h"
@@ -23,8 +24,8 @@ class CONTENT_EXPORT WifiDataProviderLinux : public WifiDataProviderCommon {
virtual ~WifiDataProviderLinux();
// WifiDataProviderCommon
- virtual WlanApiInterface* NewWlanApi();
- virtual PollingPolicyInterface* NewPollingPolicy();
+ virtual WlanApiInterface* NewWlanApi() OVERRIDE;
+ virtual PollingPolicyInterface* NewPollingPolicy() OVERRIDE;
// For testing.
WlanApiInterface* NewWlanApiForTesting(dbus::Bus* bus);
diff --git a/content/browser/geolocation/win7_location_provider_win.h b/content/browser/geolocation/win7_location_provider_win.h
index 5439184..276015b 100644
--- a/content/browser/geolocation/win7_location_provider_win.h
+++ b/content/browser/geolocation/win7_location_provider_win.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_BROWSER_GEOLOCATION_WIN7_LOCATION_PROVIDER_WIN_H_
#define CONTENT_BROWSER_GEOLOCATION_WIN7_LOCATION_PROVIDER_WIN_H_
+#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task.h"
@@ -25,11 +26,11 @@ class CONTENT_EXPORT Win7LocationProvider : public LocationProviderBase {
virtual ~Win7LocationProvider();
// LocationProvider.
- virtual bool StartProvider(bool high_accuracy);
- virtual void StopProvider();
- virtual void GetPosition(Geoposition* position);
- virtual void UpdatePosition();
- virtual void OnPermissionGranted(const GURL& requesting_frame);
+ virtual bool StartProvider(bool high_accuracy) OVERRIDE;
+ virtual void StopProvider() OVERRIDE;
+ virtual void GetPosition(Geoposition* position) OVERRIDE;
+ virtual void UpdatePosition() OVERRIDE;
+ virtual void OnPermissionGranted(const GURL& requesting_frame) OVERRIDE;
private:
// Task which runs in the child thread.