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

Unified Diff: net/dns/address_sorter_posix_unittest.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 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: net/dns/address_sorter_posix_unittest.cc
diff --git a/net/dns/address_sorter_posix_unittest.cc b/net/dns/address_sorter_posix_unittest.cc
index 78ba5b992d7826dfb6182d864661e0deda2a6bbd..203f76f0a52304efdc85f92a1723e4c30b802e1d 100644
--- a/net/dns/address_sorter_posix_unittest.cc
+++ b/net/dns/address_sorter_posix_unittest.cc
@@ -10,6 +10,7 @@
#include "net/base/ip_address.h"
#include "net/base/net_errors.h"
#include "net/base/test_completion_callback.h"
+#include "net/log/net_log_with_source.h"
#include "net/socket/client_socket_factory.h"
#include "net/socket/socket_performance_watcher.h"
#include "net/socket/ssl_client_socket.h"
@@ -106,7 +107,7 @@ class TestSocketFactory : public ClientSocketFactory {
DatagramSocket::BindType,
const RandIntCallback&,
NetLog*,
- const NetLog::Source&) override {
+ const NetLogSource&) override {
return std::unique_ptr<DatagramClientSocket>(
new TestUDPClientSocket(&mapping_));
}
@@ -114,7 +115,7 @@ class TestSocketFactory : public ClientSocketFactory {
const AddressList&,
std::unique_ptr<SocketPerformanceWatcher>,
NetLog*,
- const NetLog::Source&) override {
+ const NetLogSource&) override {
NOTIMPLEMENTED();
return std::unique_ptr<StreamSocket>();
}

Powered by Google App Engine
This is Rietveld 408576698