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

Unified Diff: net/socket/tcp_socket_posix.h

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/socket/tcp_socket_posix.h
diff --git a/net/socket/tcp_socket_posix.h b/net/socket/tcp_socket_posix.h
index 2b25f150fb46796d10d8b0f0a52e1ff7707bc614..fda90fcfd95644b052dbc6ce40f391172c57d330 100644
--- a/net/socket/tcp_socket_posix.h
+++ b/net/socket/tcp_socket_posix.h
@@ -16,7 +16,7 @@
#include "net/base/address_family.h"
#include "net/base/completion_callback.h"
#include "net/base/net_export.h"
-#include "net/log/net_log.h"
+#include "net/log/net_log_with_source.h"
#include "net/socket/socket_performance_watcher.h"
namespace base {
@@ -29,6 +29,8 @@ class AddressList;
class IOBuffer;
class IPEndPoint;
class SocketPosix;
+class NetLog;
+struct NetLogSource;
class NET_EXPORT TCPSocketPosix {
public:
@@ -37,7 +39,7 @@ class NET_EXPORT TCPSocketPosix {
TCPSocketPosix(
std::unique_ptr<SocketPerformanceWatcher> socket_performance_watcher,
NetLog* net_log,
- const NetLog::Source& source);
+ const NetLogSource& source);
virtual ~TCPSocketPosix();
int Open(AddressFamily family);

Powered by Google App Engine
This is Rietveld 408576698