Home
last modified time | relevance | path

Searched refs:NetLog (Results 1 – 25 of 369) sorted by relevance

12345678910>>...15

/external/chromium_org/net/base/
Dnet_log.cc25 NetLog::LogLevel log_level) { in BytesTransferredCallback()
28 if (NetLog::IsLoggingBytes(log_level) && byte_count > 0) in BytesTransferredCallback()
33 base::Value* SourceEventParametersCallback(const NetLog::Source source, in SourceEventParametersCallback()
34 NetLog::LogLevel /* log_level */) { in SourceEventParametersCallback()
44 NetLog::LogLevel /* log_level */) { in NetLogIntegerCallback()
52 NetLog::LogLevel /* log_level */) { in NetLogInt64Callback()
60 NetLog::LogLevel /* log_level */) { in NetLogStringCallback()
68 NetLog::LogLevel /* log_level */) { in NetLogString16Callback()
77 const uint32 NetLog::Source::kInvalidId = 0;
79 NetLog::Source::Source() : type(SOURCE_NONE), id(kInvalidId) { in Source()
[all …]
Dnet_log_unittest.cc21 base::Value* NetLogLevelCallback(NetLog::LogLevel log_level) { in NetLogLevelCallback()
33 net_log.AddGlobalEntry(NetLog::TYPE_CANCELLED); in TEST()
37 EXPECT_EQ(NetLog::TYPE_CANCELLED, entries[0].type); in TEST()
38 EXPECT_EQ(NetLog::SOURCE_NONE, entries[0].source.type); in TEST()
39 EXPECT_NE(NetLog::Source::kInvalidId, entries[0].source.id); in TEST()
40 EXPECT_EQ(NetLog::PHASE_NONE, entries[0].phase); in TEST()
48 for (int log_level = NetLog::LOG_ALL; log_level < NetLog::LOG_NONE; in TEST()
50 net_log.SetLogLevel(static_cast<NetLog::LogLevel>(log_level)); in TEST()
53 net_log.AddGlobalEntry(NetLog::TYPE_SOCKET_ALIVE, in TEST()
60 EXPECT_EQ(NetLog::TYPE_SOCKET_ALIVE, entries[0].type); in TEST()
[all …]
Dnet_log.h42 class NET_EXPORT NetLog {
192 NetLog* net_log() const;
206 friend class NetLog;
212 NetLog* net_log_;
217 NetLog();
218 virtual ~NetLog();
223 const NetLog::ParametersCallback& parameters_callback);
313 const NetLog::ParametersCallback* parameters_callback);
335 DISALLOW_COPY_AND_ASSIGN(NetLog);
345 void AddEntry(NetLog::EventType type, NetLog::EventPhase phase) const;
[all …]
Dtrace_net_log_observer_unittest.cc152 net_log()->AddGlobalEntry(NetLog::TYPE_REQUEST_ALIVE); in TEST_F()
168 BoundNetLog::Make(net_log(), net::NetLog::SOURCE_NONE); in TEST_F()
169 net_log()->AddGlobalEntry(NetLog::TYPE_CANCELLED); in TEST_F()
170 bound_net_log.BeginEvent(NetLog::TYPE_URL_REQUEST_START_JOB); in TEST_F()
171 bound_net_log.EndEvent(NetLog::TYPE_REQUEST_ALIVE); in TEST_F()
192 EXPECT_EQ(NetLog::EventTypeToString(NetLog::TYPE_CANCELLED), in TEST_F()
194 EXPECT_EQ(NetLog::SourceTypeToString(entries[0].source.type), in TEST_F()
201 EXPECT_EQ(NetLog::EventTypeToString(NetLog::TYPE_URL_REQUEST_START_JOB), in TEST_F()
203 EXPECT_EQ(NetLog::SourceTypeToString(entries[1].source.type), in TEST_F()
210 EXPECT_EQ(NetLog::EventTypeToString(NetLog::TYPE_REQUEST_ALIVE), in TEST_F()
[all …]
Dnet_log_unittest.h27 NetLog::EventType expected_event, in LogContainsEventHelper()
28 NetLog::EventPhase expected_phase) { in LogContainsEventHelper()
38 << "Actual event: " << NetLog::EventTypeToString(entry.type) in LogContainsEventHelper()
39 << ". Expected event: " << NetLog::EventTypeToString(expected_event) in LogContainsEventHelper()
62 NetLog::EventType expected_event, in LogContainsEventAtTime()
63 NetLog::EventPhase expected_phase) { in LogContainsEventAtTime()
72 NetLog::EventType expected_event, in LogContainsEvent()
73 NetLog::EventPhase expected_phase) { in LogContainsEvent()
82 NetLog::EventType expected_event) { in LogContainsBeginEvent()
83 return LogContainsEvent(log, i, expected_event, NetLog::PHASE_BEGIN); in LogContainsBeginEvent()
[all …]
Dtrace_net_log_observer.cc53 void TraceNetLogObserver::OnAddEntry(const NetLog::Entry& entry) { in OnAddEntry()
56 case NetLog::PHASE_BEGIN: in OnAddEntry()
58 "netlog", NetLog::EventTypeToString(entry.type()), entry.source().id, in OnAddEntry()
59 "source_type", NetLog::SourceTypeToString(entry.source().type), in OnAddEntry()
63 case NetLog::PHASE_END: in OnAddEntry()
65 "netlog", NetLog::EventTypeToString(entry.type()), entry.source().id, in OnAddEntry()
66 "source_type", NetLog::SourceTypeToString(entry.source().type), in OnAddEntry()
70 case NetLog::PHASE_NONE: in OnAddEntry()
72 "netlog", NetLog::EventTypeToString(entry.type()), entry.source().id, in OnAddEntry()
73 "source_type", NetLog::SourceTypeToString(entry.source().type), in OnAddEntry()
[all …]
Dnet_log_logger_unittest.cc59 NetLog::Source source(NetLog::SOURCE_SPDY_SESSION, kDummyId); in TEST_F()
60 NetLog::EntryData entry_data(NetLog::TYPE_PROXY_SERVICE, in TEST_F()
62 NetLog::PHASE_BEGIN, in TEST_F()
65 NetLog::Entry entry(&entry_data, NetLog::LOG_ALL); in TEST_F()
91 NetLog::Source source(NetLog::SOURCE_SPDY_SESSION, kDummyId); in TEST_F()
92 NetLog::EntryData entry_data(NetLog::TYPE_PROXY_SERVICE, in TEST_F()
94 NetLog::PHASE_BEGIN, in TEST_F()
97 NetLog::Entry entry(&entry_data, NetLog::LOG_ALL); in TEST_F()
Dnet_log_logger.cc60 : file_(file), log_level_(NetLog::LOG_ALL_BUT_BYTES), added_events_(false) { in NetLogLogger()
77 void NetLogLogger::set_log_level(net::NetLog::LogLevel log_level) { in set_log_level()
82 void NetLogLogger::StartObserving(net::NetLog* net_log) { in StartObserving()
90 void NetLogLogger::OnAddEntry(const net::NetLog::Entry& entry) { in OnAddEntry()
111 constants_dict->Set("logEventTypes", net::NetLog::GetEventTypesAsValue()); in GetConstants()
192 dict->SetInteger("PHASE_BEGIN", net::NetLog::PHASE_BEGIN); in GetConstants()
193 dict->SetInteger("PHASE_END", net::NetLog::PHASE_END); in GetConstants()
194 dict->SetInteger("PHASE_NONE", net::NetLog::PHASE_NONE); in GetConstants()
201 constants_dict->Set("logSourceType", net::NetLog::GetSourceTypesAsValue()); in GetConstants()
208 dict->SetInteger("LOG_ALL", net::NetLog::LOG_ALL); in GetConstants()
[all …]
Dnet_log_logger.h25 class NET_EXPORT NetLogLogger : public NetLog::ThreadSafeObserver {
34 void set_log_level(NetLog::LogLevel log_level);
38 void StartObserving(NetLog* net_log);
44 virtual void OnAddEntry(const NetLog::Entry& entry) OVERRIDE;
54 NetLog::LogLevel log_level_;
/external/chromium_org/net/http/
Dhttp_log_util_unittest.cc13 NetLog::LOG_STRIP_PRIVATE_DATA, "Cookie", "name=value")); in TEST()
15 NetLog::LOG_ALL_BUT_BYTES, "Cookie", "name=value")); in TEST()
19 NetLog::LOG_STRIP_PRIVATE_DATA, "cOoKiE", "name=value")); in TEST()
23 NetLog::LOG_STRIP_PRIVATE_DATA, "Set-Cookie", "name=value")); in TEST()
25 NetLog::LOG_STRIP_PRIVATE_DATA, "Set-Cookie2", "name=value")); in TEST()
27 NetLog::LOG_STRIP_PRIVATE_DATA, "Authorization", "Basic 1234")); in TEST()
29 NetLog::LOG_STRIP_PRIVATE_DATA, "Proxy-Authorization", "Basic 1234")); in TEST()
33 NetLog::LOG_STRIP_PRIVATE_DATA, "Boring", "value")); in TEST()
37 NetLog::LOG_STRIP_PRIVATE_DATA, "WWW-Authenticate", "Basic realm=test")); in TEST()
39 NetLog::LOG_STRIP_PRIVATE_DATA, "WWW-Authenticate", "Digest realm=test")); in TEST()
[all …]
/external/chromium_org/content/browser/media/
Dmedia_internals_proxy.cc20 static const net::NetLog::EventType kNetEventTypeFilter[] = {
21 net::NetLog::TYPE_DISK_CACHE_ENTRY_IMPL,
22 net::NetLog::TYPE_SPARSE_READ,
23 net::NetLog::TYPE_SPARSE_WRITE,
24 net::NetLog::TYPE_URL_REQUEST_START_JOB,
25 net::NetLog::TYPE_HTTP_TRANSACTION_READ_RESPONSE_HEADERS,
79 void MediaInternalsProxy::OnAddEntry(const net::NetLog::Entry& entry) { in OnAddEntry()
102 net::NetLog::EventPhaseToString(net::NetLog::PHASE_NONE), in GetConstants()
103 net::NetLog::PHASE_NONE); in GetConstants()
105 net::NetLog::EventPhaseToString(net::NetLog::PHASE_BEGIN), in GetConstants()
[all …]
/external/chromium_org/content/browser/download/
Ddownload_net_log_parameters.h33 net::NetLog::LogLevel log_level);
38 net::NetLog::LogLevel log_level);
43 net::NetLog::LogLevel log_level);
49 net::NetLog::LogLevel log_level);
56 net::NetLog::LogLevel log_level);
61 net::NetLog::LogLevel log_level);
65 net::NetLog::LogLevel log_level);
70 net::NetLog::LogLevel log_level);
75 net::NetLog::LogLevel log_level);
80 net::NetLog::LogLevel log_level);
[all …]
Ddownload_net_log_parameters.cc49 net::NetLog::LogLevel log_level) { in ItemActivatedNetLogCallback()
68 net::NetLog::LogLevel log_level) { in ItemCheckedNetLogCallback()
78 net::NetLog::LogLevel log_level) { in ItemRenamedNetLogCallback()
90 net::NetLog::LogLevel log_level) { in ItemInterruptedNetLogCallback()
105 net::NetLog::LogLevel log_level) { in ItemResumingNetLogCallback()
119 net::NetLog::LogLevel log_level) { in ItemCompletingNetLogCallback()
130 net::NetLog::LogLevel log_level) { in ItemFinishedNetLogCallback()
140 net::NetLog::LogLevel log_level) { in ItemCanceledNetLogCallback()
152 net::NetLog::LogLevel log_level) { in FileOpenedNetLogCallback()
163 net::NetLog::LogLevel log_level) { in FileStreamDrainedNetLogCallback()
[all …]
/external/chromium_org/net/disk_cache/
Dnet_log_parameters.cc19 net::NetLog::LogLevel /* log_level */) { in NetLogEntryCreationCallback()
31 net::NetLog::LogLevel /* log_level */) { in NetLogReadWriteDataCallback()
43 net::NetLog::LogLevel /* log_level */) { in NetLogReadWriteCompleteCallback()
57 net::NetLog::LogLevel /* log_level */) { in NetLogSparseOperationCallback()
67 const net::NetLog::Source& source, in NetLogSparseReadWriteCallback()
69 net::NetLog::LogLevel /* log_level */) { in NetLogSparseReadWriteCallback()
79 net::NetLog::LogLevel /* log_level */) { in NetLogGetAvailableRangeResultCallback()
94 net::NetLog::ParametersCallback CreateNetLogEntryCreationCallback( in CreateNetLogEntryCreationCallback()
101 net::NetLog::ParametersCallback CreateNetLogReadWriteDataCallback( in CreateNetLogReadWriteDataCallback()
110 net::NetLog::ParametersCallback CreateNetLogReadWriteCompleteCallback( in CreateNetLogReadWriteCompleteCallback()
[all …]
Dnet_log_parameters.h22 net::NetLog::ParametersCallback CreateNetLogEntryCreationCallback(
28 net::NetLog::ParametersCallback CreateNetLogReadWriteDataCallback(
39 net::NetLog::ParametersCallback CreateNetLogReadWriteCompleteCallback(
44 net::NetLog::ParametersCallback CreateNetLogSparseOperationCallback(
50 net::NetLog::ParametersCallback CreateNetLogSparseReadWriteCallback(
51 const net::NetLog::Source& source,
56 net::NetLog::ParametersCallback CreateNetLogGetAvailableRangeResultCallback(
/external/chromium_org/net/quic/
Dquic_connection_logger.cc40 NetLog::LogLevel /* log_level */) { in NetLogQuicPacketCallback()
54 NetLog::LogLevel /* log_level */) { in NetLogQuicPacketSentCallback()
70 NetLog::LogLevel /* log_level */) { in NetLogQuicPacketRetransmittedCallback()
80 NetLog::LogLevel /* log_level */) { in NetLogQuicPacketHeaderCallback()
95 NetLog::LogLevel /* log_level */) { in NetLogQuicStreamFrameCallback()
105 NetLog::LogLevel /* log_level */) { in NetLogQuicAckFrameCallback()
147 NetLog::LogLevel /* log_level */) { in NetLogQuicCongestionFeedbackFrameCallback()
161 NetLog::LogLevel /* log_level */) { in NetLogQuicRstStreamFrameCallback()
171 NetLog::LogLevel /* log_level */) { in NetLogQuicConnectionCloseFrameCallback()
180 NetLog::LogLevel /* log_level */) { in NetLogQuicWindowUpdateFrameCallback()
[all …]
/external/chromium_org/net/socket/
Dsocks5_client_socket.cc44 net_log_(transport_->socket()->NetLog()) { in SOCKS5ClientSocket()
61 net_log_.BeginEvent(NetLog::TYPE_SOCKS5_CONNECT); in Connect()
70 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SOCKS5_CONNECT, rv); in Connect()
93 const BoundNetLog& SOCKS5ClientSocket::NetLog() const { in NetLog() function in net::SOCKS5ClientSocket
207 net_log_.EndEvent(NetLog::TYPE_SOCKS5_CONNECT); in OnIOComplete()
231 net_log_.BeginEvent(NetLog::TYPE_SOCKS5_GREET_WRITE); in DoLoop()
236 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SOCKS5_GREET_WRITE, rv); in DoLoop()
240 net_log_.BeginEvent(NetLog::TYPE_SOCKS5_GREET_READ); in DoLoop()
245 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SOCKS5_GREET_READ, rv); in DoLoop()
249 net_log_.BeginEvent(NetLog::TYPE_SOCKS5_HANDSHAKE_WRITE); in DoLoop()
[all …]
Dsocket_net_log_params.cc19 NetLog::LogLevel /* log_level */) { in NetLogSocketErrorCallback()
27 NetLog::LogLevel /* log_level */) { in NetLogHostPortPairCallback()
34 NetLog::LogLevel /* log_level */) { in NetLogIPEndPointCallback()
42 NetLog::LogLevel /* log_level */) { in NetLogSourceAddressCallback()
51 NetLog::ParametersCallback CreateNetLogSocketErrorCallback(int net_error, in CreateNetLogSocketErrorCallback()
56 NetLog::ParametersCallback CreateNetLogHostPortPairCallback( in CreateNetLogHostPortPairCallback()
61 NetLog::ParametersCallback CreateNetLogIPEndPointCallback( in CreateNetLogIPEndPointCallback()
66 NetLog::ParametersCallback CreateNetLogSourceAddressCallback( in CreateNetLogSourceAddressCallback()
Dtransport_client_socket_pool_test_util.cc34 MockConnectClientSocket(const AddressList& addrlist, net::NetLog* net_log) in MockConnectClientSocket()
37 net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)), in MockConnectClientSocket()
62 virtual const BoundNetLog& NetLog() const OVERRIDE { return net_log_; } in NetLog() function in net::__anonda2346cc0111::MockConnectClientSocket
102 MockFailingClientSocket(const AddressList& addrlist, net::NetLog* net_log) in MockFailingClientSocket()
104 net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)), in MockFailingClientSocket()
122 virtual const BoundNetLog& NetLog() const OVERRIDE { return net_log_; } in NetLog() function in net::__anonda2346cc0111::MockFailingClientSocket
166 net::NetLog* net_log) in MockTriggerableClientSocket()
170 net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)), in MockTriggerableClientSocket()
185 net::NetLog* net_log) { in MakeMockPendingClientSocket()
197 net::NetLog* net_log) { in MakeMockDelayedClientSocket()
[all …]
Dtransport_client_socket_pool_test_util.h69 explicit MockTransportClientSocketFactory(NetLog* net_log);
75 NetLog* net_log,
76 const NetLog::Source& source) OVERRIDE;
80 NetLog* /* net_log */,
81 const NetLog::Source& /* source */) OVERRIDE;
112 NetLog* net_log_;
Dtcp_socket_libevent.cc129 TCPSocketLibevent::TCPSocketLibevent(NetLog* net_log, in TCPSocketLibevent()
130 const NetLog::Source& source) in TCPSocketLibevent()
135 net_log_(BoundNetLog::Make(net_log, NetLog::SOURCE_SOCKET)) { in TCPSocketLibevent()
136 net_log_.BeginEvent(NetLog::TYPE_SOCKET_ALIVE, in TCPSocketLibevent()
141 net_log_.EndEvent(NetLog::TYPE_SOCKET_ALIVE); in ~TCPSocketLibevent()
198 net_log_.BeginEvent(NetLog::TYPE_TCP_ACCEPT); in Accept()
216 net_log_.BeginEvent(NetLog::TYPE_TCP_CONNECT_ATTEMPT, in Connect()
470 net_log_.EndEvent(NetLog::TYPE_TCP_ACCEPT, in HandleAcceptCompleted()
473 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_TCP_ACCEPT, rv); in HandleAcceptCompleted()
506 net_log_.EndEvent(NetLog::TYPE_TCP_CONNECT_ATTEMPT, in HandleConnectCompleted()
[all …]
/external/chromium_org/content/browser/devtools/
Ddevtools_netlog_observer.cc38 void DevToolsNetLogObserver::OnAddEntry(const net::NetLog::Entry& entry) { in OnAddEntry()
43 if (entry.source().type == net::NetLog::SOURCE_URL_REQUEST) in OnAddEntry()
48 const net::NetLog::Entry& entry) { in OnAddURLRequestEntry()
51 bool is_begin = entry.phase() == net::NetLog::PHASE_BEGIN; in OnAddURLRequestEntry()
52 bool is_end = entry.phase() == net::NetLog::PHASE_END; in OnAddURLRequestEntry()
54 if (entry.type() == net::NetLog::TYPE_URL_REQUEST_START_JOB) { in OnAddURLRequestEntry()
75 } else if (entry.type() == net::NetLog::TYPE_REQUEST_ALIVE) { in OnAddURLRequestEntry()
87 case net::NetLog::TYPE_HTTP_TRANSACTION_SEND_REQUEST_HEADERS: { in OnAddURLRequestEntry()
109 case net::NetLog::TYPE_HTTP_TRANSACTION_SPDY_SEND_REQUEST_HEADERS: { in OnAddURLRequestEntry()
129 case net::NetLog::TYPE_HTTP_TRANSACTION_READ_RESPONSE_HEADERS: { in OnAddURLRequestEntry()
[all …]
/external/chromium_org/net/udp/
Dudp_socket_unittest.cc139 new UDPServerSocket(&server_log, NetLog::Source())); in TEST_F()
152 NetLog::Source())); in TEST_F()
181 server_entries, 0, NetLog::TYPE_SOCKET_ALIVE)); in TEST_F()
183 server_entries, 1, NetLog::TYPE_UDP_BYTES_RECEIVED, NetLog::PHASE_NONE)); in TEST_F()
185 server_entries, 2, NetLog::TYPE_UDP_BYTES_SENT, NetLog::PHASE_NONE)); in TEST_F()
187 server_entries, 3, NetLog::TYPE_SOCKET_ALIVE)); in TEST_F()
194 client_entries, 0, NetLog::TYPE_SOCKET_ALIVE)); in TEST_F()
196 client_entries, 1, NetLog::TYPE_UDP_CONNECT)); in TEST_F()
198 client_entries, 2, NetLog::TYPE_UDP_CONNECT)); in TEST_F()
200 client_entries, 3, NetLog::TYPE_UDP_BYTES_SENT, NetLog::PHASE_NONE)); in TEST_F()
[all …]
/external/chromium_org/net/disk_cache/memory/
Dmem_entry_impl.cc51 net::NetLog::LogLevel /* log_level */) { in NetLogChildEntryCreationCallback()
77 bool MemEntryImpl::CreateEntry(const std::string& key, net::NetLog* net_log) { in CreateEntry()
84 net::NetLog::SOURCE_MEMORY_CACHE_ENTRY); in CreateEntry()
87 net::NetLog::TYPE_DISK_CACHE_MEM_ENTRY_IMPL, in CreateEntry()
96 net_log_.AddEvent(net::NetLog::TYPE_ENTRY_DOOM); in InternalDoom()
190 net::NetLog::TYPE_ENTRY_READ_DATA, in ReadData()
198 net::NetLog::TYPE_ENTRY_READ_DATA, in ReadData()
208 net::NetLog::TYPE_ENTRY_WRITE_DATA, in WriteData()
216 net::NetLog::TYPE_ENTRY_WRITE_DATA, in WriteData()
226 net::NetLog::TYPE_SPARSE_READ, in ReadSparseData()
[all …]
/external/chromium_org/net/proxy/
Dproxy_script_decider_unittest.cc203 entries, 0, NetLog::TYPE_PROXY_SCRIPT_DECIDER)); in TEST()
205 entries, 1, NetLog::TYPE_PROXY_SCRIPT_DECIDER_FETCH_PAC_SCRIPT)); in TEST()
207 entries, 2, NetLog::TYPE_PROXY_SCRIPT_DECIDER_FETCH_PAC_SCRIPT)); in TEST()
209 entries, 3, NetLog::TYPE_PROXY_SCRIPT_DECIDER)); in TEST()
240 entries, 0, NetLog::TYPE_PROXY_SCRIPT_DECIDER)); in TEST()
242 entries, 1, NetLog::TYPE_PROXY_SCRIPT_DECIDER_FETCH_PAC_SCRIPT)); in TEST()
244 entries, 2, NetLog::TYPE_PROXY_SCRIPT_DECIDER_FETCH_PAC_SCRIPT)); in TEST()
246 entries, 3, NetLog::TYPE_PROXY_SCRIPT_DECIDER)); in TEST()
490 entries, 0, NetLog::TYPE_PROXY_SCRIPT_DECIDER)); in TEST()
494 entries, 1, NetLog::TYPE_PROXY_SCRIPT_DECIDER_FETCH_PAC_SCRIPT)); in TEST()
[all …]

12345678910>>...15