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

Unified Diff: content/browser/media/midi_host.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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
« no previous file with comments | « content/browser/media/midi_dispatcher_host.h ('k') | content/browser/media/webrtc_internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/midi_host.h
diff --git a/content/browser/media/midi_host.h b/content/browser/media/midi_host.h
index ef5f904b5de7d50178e4de095d71b78c6e3aca38..87be30513a34478903b5669a38deab515ccc31c5 100644
--- a/content/browser/media/midi_host.h
+++ b/content/browser/media/midi_host.h
@@ -31,17 +31,16 @@ class CONTENT_EXPORT MidiHost
MidiHost(int renderer_process_id, media::MidiManager* midi_manager);
// BrowserMessageFilter implementation.
- virtual void OnDestruct() const override;
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ void OnDestruct() const override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// MidiManagerClient implementation.
- virtual void CompleteStartSession(int client_id,
- media::MidiResult result) override;
- virtual void ReceiveMidiData(uint32 port,
- const uint8* data,
- size_t length,
- double timestamp) override;
- virtual void AccumulateMidiBytesSent(size_t n) override;
+ void CompleteStartSession(int client_id, media::MidiResult result) override;
+ void ReceiveMidiData(uint32 port,
+ const uint8* data,
+ size_t length,
+ double timestamp) override;
+ void AccumulateMidiBytesSent(size_t n) override;
// Start session to access MIDI hardware.
void OnStartSession(int client_id);
@@ -56,7 +55,7 @@ class CONTENT_EXPORT MidiHost
friend class base::DeleteHelper<MidiHost>;
friend class BrowserThread;
- virtual ~MidiHost();
+ ~MidiHost() override;
// Returns true if |data| fulfills the requirements of MidiOutput.send API
// defined in the WebMIDI spec.
« no previous file with comments | « content/browser/media/midi_dispatcher_host.h ('k') | content/browser/media/webrtc_internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698