diff options
author | agayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-18 21:47:35 +0000 |
---|---|---|
committer | agayev@chromium.org <agayev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-18 21:47:35 +0000 |
commit | eaf10dc5d0fd4d093bb92445207dc9e0679222c7 (patch) | |
tree | 0d9235fab4b03b1098f7f6a18928b85c059b7a91 /content/browser | |
parent | 8d779bd5a0776a415297e6068a1eed904e31dff9 (diff) | |
download | chromium_src-eaf10dc5d0fd4d093bb92445207dc9e0679222c7.zip chromium_src-eaf10dc5d0fd4d093bb92445207dc9e0679222c7.tar.gz chromium_src-eaf10dc5d0fd4d093bb92445207dc9e0679222c7.tar.bz2 |
DatagramSocket: added NetLog accessor.
BUG=60149
TEST=None
Review URL: http://codereview.chromium.org/7395033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92904 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/renderer_host/p2p/socket_host_udp_unittest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc index cd517b8..e40d288 100644 --- a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc +++ b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc @@ -95,10 +95,15 @@ class FakeDatagramServerSocket : public net::DatagramServerSocket { } } + virtual const net::BoundNetLog& NetLog() const { + return net_log_; + } + private: net::IPEndPoint address_; std::deque<UDPPacket>* sent_packets_; std::deque<UDPPacket> incoming_packets_; + net::BoundNetLog net_log_; scoped_refptr<net::IOBuffer> recv_buffer_; net::IPEndPoint* recv_address_; |