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

Unified Diff: chrome/utility/local_discovery/service_discovery_message_handler.cc

Issue 638863002: Replace FINAL and OVERRIDE with their C++11 counterparts in chrome/utility (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/utility/local_discovery/service_discovery_message_handler.cc
diff --git a/chrome/utility/local_discovery/service_discovery_message_handler.cc b/chrome/utility/local_discovery/service_discovery_message_handler.cc
index 9882c0990239081b449eeedb4619609cbe331fd4..c7fc983031e3734342501cfdda2d8ef4f12a6ea7 100644
--- a/chrome/utility/local_discovery/service_discovery_message_handler.cc
+++ b/chrome/utility/local_discovery/service_discovery_message_handler.cc
@@ -35,7 +35,7 @@ class ScopedSocketFactory : public net::PlatformSocketFactory {
}
virtual net::SocketDescriptor CreateSocket(int family, int type,
- int protocol) OVERRIDE {
+ int protocol) override {
DCHECK_EQ(type, SOCK_DGRAM);
DCHECK(family == AF_INET || family == AF_INET6);
net::SocketDescriptor result = net::kInvalidSocket;
@@ -73,7 +73,7 @@ class PreCreatedMDnsSocketFactory : public net::MDnsSocketFactory {
// net::MDnsSocketFactory implementation:
virtual void CreateSockets(
- ScopedVector<net::DatagramServerSocket>* sockets) OVERRIDE {
+ ScopedVector<net::DatagramServerSocket>* sockets) override {
sockets->swap(sockets_);
Reset();
}
« no previous file with comments | « chrome/utility/local_discovery/service_discovery_message_handler.h ('k') | chrome/utility/media_galleries/ipc_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698