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

Unified Diff: media/midi/midi_manager_usb_unittest.cc

Issue 623263003: replace OVERRIDE and FINAL with override and final in media/ (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 | « media/midi/midi_manager_usb.h ('k') | media/midi/midi_manager_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_usb_unittest.cc
diff --git a/media/midi/midi_manager_usb_unittest.cc b/media/midi/midi_manager_usb_unittest.cc
index 88bfd93956760e4da966945d92be3ac6e39d4425..dda6775af3652a785920f17c916154c271ecd5b4 100644
--- a/media/midi/midi_manager_usb_unittest.cc
+++ b/media/midi/midi_manager_usb_unittest.cc
@@ -45,13 +45,13 @@ class FakeUsbMidiDevice : public UsbMidiDevice {
explicit FakeUsbMidiDevice(Logger* logger) : logger_(logger) {}
virtual ~FakeUsbMidiDevice() {}
- virtual std::vector<uint8> GetDescriptor() OVERRIDE {
+ virtual std::vector<uint8> GetDescriptor() override {
logger_->AddLog("UsbMidiDevice::GetDescriptor\n");
return descriptor_;
}
virtual void Send(int endpoint_number,
- const std::vector<uint8>& data) OVERRIDE {
+ const std::vector<uint8>& data) override {
logger_->AddLog("UsbMidiDevice::Send ");
logger_->AddLog(base::StringPrintf("endpoint = %d data =",
endpoint_number));
@@ -79,7 +79,7 @@ class FakeMidiManagerClient : public MidiManagerClient {
logger_(logger) {}
virtual ~FakeMidiManagerClient() {}
- virtual void CompleteStartSession(int client_id, MidiResult result) OVERRIDE {
+ virtual void CompleteStartSession(int client_id, MidiResult result) override {
complete_start_session_ = true;
result_ = result;
}
@@ -87,7 +87,7 @@ class FakeMidiManagerClient : public MidiManagerClient {
virtual void ReceiveMidiData(uint32 port_index,
const uint8* data,
size_t size,
- double timestamp) OVERRIDE {
+ double timestamp) override {
logger_->AddLog("MidiManagerClient::ReceiveMidiData ");
logger_->AddLog(base::StringPrintf("port_index = %d data =", port_index));
for (size_t i = 0; i < size; ++i)
@@ -95,7 +95,7 @@ class FakeMidiManagerClient : public MidiManagerClient {
logger_->AddLog("\n");
}
- virtual void AccumulateMidiBytesSent(size_t size) OVERRIDE {
+ virtual void AccumulateMidiBytesSent(size_t size) override {
logger_->AddLog("MidiManagerClient::AccumulateMidiBytesSent ");
// Windows has no "%zu".
logger_->AddLog(base::StringPrintf("size = %u\n",
@@ -116,7 +116,7 @@ class TestUsbMidiDeviceFactory : public UsbMidiDevice::Factory {
TestUsbMidiDeviceFactory() {}
virtual ~TestUsbMidiDeviceFactory() {}
virtual void EnumerateDevices(UsbMidiDeviceDelegate* device,
- Callback callback) OVERRIDE {
+ Callback callback) override {
callback_ = callback;
}
« no previous file with comments | « media/midi/midi_manager_usb.h ('k') | media/midi/midi_manager_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698