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

Unified Diff: remoting/test/fake_socket_factory.cc

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « remoting/signaling/xmpp_signal_strategy.cc ('k') | remoting/test/protocol_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/fake_socket_factory.cc
diff --git a/remoting/test/fake_socket_factory.cc b/remoting/test/fake_socket_factory.cc
index 183595ee581f3d208c2cbb1eb4e0e8f236b02bbb..0f0d418ac230da0d58717c00df440c1204797021 100644
--- a/remoting/test/fake_socket_factory.cc
+++ b/remoting/test/fake_socket_factory.cc
@@ -212,7 +212,7 @@ rtc::AsyncPacketSocket* FakePacketSocketFactory::CreateUdpSocket(
}
}
if (port < 0)
- return NULL;
+ return nullptr;
} else {
do {
port = next_port_;
@@ -237,7 +237,7 @@ rtc::AsyncPacketSocket* FakePacketSocketFactory::CreateServerTcpSocket(
const rtc::SocketAddress& local_address,
uint16 min_port, uint16 max_port,
int opts) {
- return NULL;
+ return nullptr;
}
rtc::AsyncPacketSocket* FakePacketSocketFactory::CreateClientTcpSocket(
@@ -246,12 +246,12 @@ rtc::AsyncPacketSocket* FakePacketSocketFactory::CreateClientTcpSocket(
const rtc::ProxyInfo& proxy_info,
const std::string& user_agent,
int opts) {
- return NULL;
+ return nullptr;
}
rtc::AsyncResolverInterface*
FakePacketSocketFactory::CreateAsyncResolver() {
- return NULL;
+ return nullptr;
}
const scoped_refptr<base::SingleThreadTaskRunner>&
« no previous file with comments | « remoting/signaling/xmpp_signal_strategy.cc ('k') | remoting/test/protocol_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698