Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: content/browser/geolocation/geolocation_provider_impl_unittest.cc

Issue 631053003: Replacing the OVERRIDE with override and FINAL with final in content/browser/geolocation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved mac issue Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/geolocation/geolocation_provider_impl_unittest.cc
diff --git a/content/browser/geolocation/geolocation_provider_impl_unittest.cc b/content/browser/geolocation/geolocation_provider_impl_unittest.cc
index 3575c3f905a25b316442a3cbd0d4c9cbb4b1f963..1558daade7b19f78d6d8a7a765c5100a5bd78d68 100644
--- a/content/browser/geolocation/geolocation_provider_impl_unittest.cc
+++ b/content/browser/geolocation/geolocation_provider_impl_unittest.cc
@@ -36,7 +36,7 @@ class LocationProviderForTestArbitrator : public GeolocationProviderImpl {
protected:
// GeolocationProviderImpl implementation:
- virtual LocationArbitrator* CreateArbitrator() OVERRIDE;
+ virtual LocationArbitrator* CreateArbitrator() override;
private:
MockLocationArbitrator* mock_arbitrator_;
@@ -61,7 +61,7 @@ class MockGeolocationObserver : public GeolocationObserver {
class AsyncMockGeolocationObserver : public MockGeolocationObserver {
public:
- virtual void OnLocationUpdate(const Geoposition& position) OVERRIDE {
+ virtual void OnLocationUpdate(const Geoposition& position) override {
MockGeolocationObserver::OnLocationUpdate(position);
base::MessageLoop::current()->Quit();
}
@@ -79,7 +79,7 @@ class GeopositionEqMatcher
: expected_(expected) {}
virtual bool MatchAndExplain(const Geoposition& actual,
- MatchResultListener* listener) const OVERRIDE {
+ MatchResultListener* listener) const override {
return actual.latitude == expected_.latitude &&
actual.longitude == expected_.longitude &&
actual.altitude == expected_.altitude &&
@@ -92,11 +92,11 @@ class GeopositionEqMatcher
actual.error_message == expected_.error_message;
}
- virtual void DescribeTo(::std::ostream* os) const OVERRIDE {
+ virtual void DescribeTo(::std::ostream* os) const override {
*os << "which matches the expected position";
}
- virtual void DescribeNegationTo(::std::ostream* os) const OVERRIDE {
+ virtual void DescribeNegationTo(::std::ostream* os) const override {
*os << "which does not match the expected position";
}
« no previous file with comments | « content/browser/geolocation/geolocation_provider_impl.h ('k') | content/browser/geolocation/location_arbitrator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698