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

Unified Diff: chrome/browser/extensions/api/cast_streaming/performance_test.cc

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/extensions/api/cast_streaming/performance_test.cc
diff --git a/chrome/browser/extensions/api/cast_streaming/performance_test.cc b/chrome/browser/extensions/api/cast_streaming/performance_test.cc
index 8234edee4f7d40f874954b66acc1f7866e619e64..f15d7e8194c801b5c90dda5be2cb1df30e4cd7c4 100644
--- a/chrome/browser/extensions/api/cast_streaming/performance_test.cc
+++ b/chrome/browser/extensions/api/cast_streaming/performance_test.cc
@@ -81,7 +81,7 @@ class SkewedTickClock : public base::DefaultTickClock {
public:
explicit SkewedTickClock(const base::TimeDelta& delta) : delta_(delta) {
}
- virtual base::TimeTicks NowTicks() override {
+ base::TimeTicks NowTicks() override {
return DefaultTickClock::NowTicks() + delta_;
}
private:
@@ -96,7 +96,7 @@ class SkewedCastEnvironment : public media::cast::StandaloneCastEnvironment {
}
protected:
- virtual ~SkewedCastEnvironment() {}
+ ~SkewedCastEnvironment() override {}
};
// We log one of these for each call to OnAudioFrame/OnVideoFrame.
@@ -239,9 +239,9 @@ class TestPatternReceiver : public media::cast::InProcessReceiver {
private:
// Invoked by InProcessReceiver for each received audio frame.
- virtual void OnAudioFrame(scoped_ptr<media::AudioBus> audio_frame,
- const base::TimeTicks& playout_time,
- bool is_continuous) override {
+ void OnAudioFrame(scoped_ptr<media::AudioBus> audio_frame,
+ const base::TimeTicks& playout_time,
+ bool is_continuous) override {
CHECK(cast_env()->CurrentlyOn(media::cast::CastEnvironment::MAIN));
if (audio_frame->frames() <= 0) {
@@ -260,9 +260,9 @@ class TestPatternReceiver : public media::cast::InProcessReceiver {
}
}
- virtual void OnVideoFrame(const scoped_refptr<media::VideoFrame>& video_frame,
- const base::TimeTicks& render_time,
- bool is_continuous) override {
+ void OnVideoFrame(const scoped_refptr<media::VideoFrame>& video_frame,
+ const base::TimeTicks& render_time,
+ bool is_continuous) override {
CHECK(cast_env()->CurrentlyOn(media::cast::CastEnvironment::MAIN));
TRACE_EVENT_INSTANT1(
@@ -360,7 +360,7 @@ class CastV2PerformanceTest
ExtensionApiTest::SetUp();
}
- virtual void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(CommandLine* command_line) override {
// Some of the tests may launch http requests through JSON or AJAX
// which causes a security error (cross domain request) when the page
// is loaded from the local file system ( file:// ). The following switch

Powered by Google App Engine
This is Rietveld 408576698