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

Unified Diff: device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc

Issue 628873002: replace OVERRIDE and FINAL with override and final in device/ (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: device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc
diff --git a/device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc b/device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc
index 5639169060180afc8de56657ffd83fb30188529d..52ce9bd6ba4ec95eace783cd72c0f2a17f4127aa 100644
--- a/device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc
+++ b/device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc
@@ -37,7 +37,7 @@ class MediaTransferProtocolDaemonClientImpl
// MediaTransferProtocolDaemonClient override.
virtual void EnumerateStorages(const EnumerateStoragesCallback& callback,
- const ErrorCallback& error_callback) OVERRIDE {
+ const ErrorCallback& error_callback) override {
dbus::MethodCall method_call(mtpd::kMtpdInterface,
mtpd::kEnumerateStorages);
proxy_->CallMethod(
@@ -51,7 +51,7 @@ class MediaTransferProtocolDaemonClientImpl
// MediaTransferProtocolDaemonClient override.
virtual void GetStorageInfo(const std::string& storage_name,
const GetStorageInfoCallback& callback,
- const ErrorCallback& error_callback) OVERRIDE {
+ const ErrorCallback& error_callback) override {
dbus::MethodCall method_call(mtpd::kMtpdInterface, mtpd::kGetStorageInfo);
dbus::MessageWriter writer(&method_call);
writer.AppendString(storage_name);
@@ -68,7 +68,7 @@ class MediaTransferProtocolDaemonClientImpl
virtual void OpenStorage(const std::string& storage_name,
const std::string& mode,
const OpenStorageCallback& callback,
- const ErrorCallback& error_callback) OVERRIDE {
+ const ErrorCallback& error_callback) override {
dbus::MethodCall method_call(mtpd::kMtpdInterface, mtpd::kOpenStorage);
dbus::MessageWriter writer(&method_call);
writer.AppendString(storage_name);
@@ -85,7 +85,7 @@ class MediaTransferProtocolDaemonClientImpl
// MediaTransferProtocolDaemonClient override.
virtual void CloseStorage(const std::string& handle,
const CloseStorageCallback& callback,
- const ErrorCallback& error_callback) OVERRIDE {
+ const ErrorCallback& error_callback) override {
dbus::MethodCall method_call(mtpd::kMtpdInterface, mtpd::kCloseStorage);
dbus::MessageWriter writer(&method_call);
writer.AppendString(handle);
@@ -102,7 +102,7 @@ class MediaTransferProtocolDaemonClientImpl
const std::string& handle,
uint32 file_id,
const ReadDirectoryEntryIdsCallback& callback,
- const ErrorCallback& error_callback) OVERRIDE {
+ const ErrorCallback& error_callback) override {
dbus::MethodCall method_call(mtpd::kMtpdInterface,
mtpd::kReadDirectoryEntryIds);
dbus::MessageWriter writer(&method_call);
@@ -121,7 +121,7 @@ class MediaTransferProtocolDaemonClientImpl
size_t offset,
size_t entries_to_read,
const GetFileInfoCallback& callback,
- const ErrorCallback& error_callback) OVERRIDE {
+ const ErrorCallback& error_callback) override {
if (offset >= file_ids.size()) {
error_callback.Run();
return;
@@ -156,7 +156,7 @@ class MediaTransferProtocolDaemonClientImpl
uint32 offset,
uint32 bytes_to_read,
const ReadFileCallback& callback,
- const ErrorCallback& error_callback) OVERRIDE {
+ const ErrorCallback& error_callback) override {
DCHECK_LE(bytes_to_read, kMaxChunkSize);
dbus::MethodCall method_call(mtpd::kMtpdInterface, mtpd::kReadFileChunk);
dbus::MessageWriter writer(&method_call);
@@ -174,7 +174,7 @@ class MediaTransferProtocolDaemonClientImpl
// MediaTransferProtocolDaemonClient override.
virtual void ListenForChanges(
- const MTPStorageEventHandler& handler) OVERRIDE {
+ const MTPStorageEventHandler& handler) override {
DCHECK(!listen_for_changes_called_);
listen_for_changes_called_ = true;
« no previous file with comments | « device/hid/input_service_linux.cc ('k') | device/media_transfer_protocol/media_transfer_protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698