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

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

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 years, 8 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
« no previous file with comments | « content/browser/gamepad/raw_input_data_fetcher_win.h ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f201f48e842241d7866c167feb49926dc97369ef..685818b8279aa8404db55d1a8f317998ec929936 100644
--- a/content/browser/geolocation/geolocation_provider_impl_unittest.cc
+++ b/content/browser/geolocation/geolocation_provider_impl_unittest.cc
@@ -78,8 +78,8 @@ class GeopositionEqMatcher
explicit GeopositionEqMatcher(const Geoposition& expected)
: expected_(expected) {}
- virtual bool MatchAndExplain(const Geoposition& actual,
- MatchResultListener* listener) const override {
+ bool MatchAndExplain(const Geoposition& actual,
+ 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 {
+ void DescribeTo(::std::ostream* os) const override {
*os << "which matches the expected position";
}
- virtual void DescribeNegationTo(::std::ostream* os) const override {
+ void DescribeNegationTo(::std::ostream* os) const override {
*os << "which does not match the expected position";
}
« no previous file with comments | « content/browser/gamepad/raw_input_data_fetcher_win.h ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698