/external/chromium/net/base/ |
net_log.h | 23 // NetLog is the destination for log messages generated by the network stack. 28 // To avoid needing to pass in the "source id" to the logging functions, NetLog 32 // ******** The NetLog (and associated logging) is a work in progress ******** 38 class NetLog { 63 // message groupings. Can use NetLog::NextID() to create unique IDs. 109 NetLog() {} 110 virtual ~NetLog() {} 131 // Returns the logging level for this NetLog. This is used to avoid computing 135 // Converts a time to the string format that the NetLog uses to represent 153 static Value* EntryToDictionaryValue(NetLog::EventType type [all...] |
net_log_unittest.cc | 14 TEST(NetLog, ScopedNetLogEventTest) { 16 BoundNetLog net_log(BoundNetLog::Make(&log, NetLog::SOURCE_URL_REQUEST)); 19 new ScopedNetLogEvent(net_log, NetLog::TYPE_REQUEST_ALIVE, NULL)); 24 EXPECT_TRUE(LogContainsBeginEvent(entries, 0, NetLog::TYPE_REQUEST_ALIVE)); 29 EXPECT_TRUE(LogContainsEndEvent(entries, 1, NetLog::TYPE_REQUEST_ALIVE));
|
net_log.cc | 16 Value* NetLog::Source::ToValue() const { 24 std::string NetLog::TickCountToString(const base::TimeTicks& time) { 30 const char* NetLog::EventTypeToString(EventType event) { 40 std::vector<NetLog::EventType> NetLog::GetAllEventTypes() { 41 std::vector<NetLog::EventType> types; 49 const char* NetLog::SourceTypeToString(SourceType source) { 60 const char* NetLog::EventPhaseToString(EventPhase phase) { 74 Value* NetLog::EntryToDictionaryValue(NetLog::EventType type [all...] |
/external/chromium_org/net/socket/ |
socket_net_log_params.h | 16 // Creates a NetLog callback for socket error events. 17 NetLog::ParametersCallback CreateNetLogSocketErrorCallback(int net_error, 20 // Creates a NetLog callback for a HostPortPair. 22 NetLog::ParametersCallback CreateNetLogHostPortPairCallback( 25 // Creates a NetLog callback for an IPEndPoint. 27 NetLog::ParametersCallback CreateNetLogIPEndPointCallback( 30 // Creates a NetLog callback for the source sockaddr on connect events. 32 NetLog::ParametersCallback CreateNetLogSourceAddressCallback(
|
ssl_error_params.h | 12 // Creates NetLog callback for when we receive an SSL error. 13 NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error,
|
/external/chromium_org/net/disk_cache/ |
net_log_parameters.h | 12 // This file contains a set of functions to create NetLog::ParametersCallbacks 18 // Creates a NetLog callback that returns parameters for the creation of an 22 net::NetLog::ParametersCallback CreateNetLogEntryCreationCallback( 26 // Creates a NetLog callback that returns parameters for start of a non-sparse 28 net::NetLog::ParametersCallback CreateNetLogReadWriteDataCallback( 34 // Creates a NetLog callback that returns parameters for when a non-sparse 39 net::NetLog::ParametersCallback CreateNetLogReadWriteCompleteCallback( 42 // Creates a NetLog callback that returns parameters for when a sparse 44 net::NetLog::ParametersCallback CreateNetLogSparseOperationCallback( 48 // Creates a NetLog callback that returns parameters for when a read or writ [all...] |
/external/chromium_org/net/base/ |
net_log.cc | 25 NetLog::LogLevel log_level) { 28 if (NetLog::IsLoggingBytes(log_level) && byte_count > 0) 33 base::Value* SourceEventParametersCallback(const NetLog::Source source, 34 NetLog::LogLevel /* log_level */) { 44 NetLog::LogLevel /* log_level */) { 52 NetLog::LogLevel /* log_level */) { 60 NetLog::LogLevel /* log_level */) { 68 NetLog::LogLevel /* log_level */) { 77 const uint32 NetLog::Source::kInvalidId = 0; 79 NetLog::Source::Source() : type(SOURCE_NONE), id(kInvalidId) [all...] |
net_log_unittest.cc | 20 base::Value* NetLogLevelCallback(NetLog::LogLevel log_level) { 32 net_log.AddGlobalEntry(NetLog::TYPE_CANCELLED); 36 EXPECT_EQ(NetLog::TYPE_CANCELLED, entries[0].type); 37 EXPECT_EQ(NetLog::SOURCE_NONE, entries[0].source.type); 38 EXPECT_NE(NetLog::Source::kInvalidId, entries[0].source.id); 39 EXPECT_EQ(NetLog::PHASE_NONE, entries[0].phase); 44 // Check that the correct LogLevel is sent to NetLog Value callbacks, and that 48 for (int log_level = NetLog::LOG_ALL; log_level <= NetLog::LOG_NONE; 50 net_log.SetLogLevel(static_cast<NetLog::LogLevel>(log_level)) [all...] |
net_log_logger.h | 20 // NetLogLogger watches the NetLog event stream, and sends all entries to 24 class NET_EXPORT NetLogLogger : public NetLog::ThreadSafeObserver { 32 // Starts observing specified NetLog. Must not already be watching a NetLog. 34 void StartObserving(NetLog* net_log); 39 // net::NetLog::ThreadSafeObserver implementation: 40 virtual void OnAddEntry(const NetLog::Entry& entry) OVERRIDE;
|
net_log.h | 27 // NetLog is the destination for log messages generated by the network stack. 32 // To avoid needing to pass in the "source ID" to the logging functions, NetLog 36 // All methods are thread safe, with the exception that no NetLog or 37 // NetLog::ThreadSafeObserver functions may be called by an observer's 41 // https://sites.google.com/a/chromium.org/dev/developers/design-documents/network-stack/netlog 42 class NET_EXPORT NetLog { 97 // message groupings. Can use NetLog::NextID() to create unique IDs. 163 // being added to a NetLog. 168 // observe a single NetLog at a time. 173 // Observers must stop watching a NetLog before either the Observer or th [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_net_log_parameters.h | 16 // Creates a NetLog callback that returns parameters for the construction of a 19 net::NetLog::ParametersCallback CreateNetLogSimpleEntryConstructionCallback( 22 // Creates a NetLog callback that returns parameters for the result of calling 26 net::NetLog::ParametersCallback CreateNetLogSimpleEntryCreationCallback(
|
/external/chromium_org/net/udp/ |
udp_net_log_parameters.h | 14 // Creates a NetLog callback that returns parameters describing a UDP 18 NetLog::ParametersCallback CreateNetLogUDPDataTranferCallback( 23 // Creates a NetLog callback that returns parameters describing a UDP 26 NetLog::ParametersCallback CreateNetLogUDPConnectCallback(
|
/external/chromium/chrome/browser/debugger/ |
devtools_netlog_observer.h | 21 // DevToolsNetLogObserver watches the NetLog event stream and collects the 33 virtual void OnAddEntry(net::NetLog::EventType type, 35 const net::NetLog::Source& source, 36 net::NetLog::EventPhase phase, 37 net::NetLog::EventParameters* params); 39 void OnAddURLRequestEntry(net::NetLog::EventType type, 41 const net::NetLog::Source& source, 42 net::NetLog::EventPhase phase, 43 net::NetLog::EventParameters* params); 45 void OnAddHTTPStreamJobEntry(net::NetLog::EventType type [all...] |
/external/chromium/chrome/browser/net/ |
net_log_logger.h | 14 // NetLogLogger watches the NetLog event stream, and sends all entries to 29 virtual void OnAddEntry(net::NetLog::EventType type, 31 const net::NetLog::Source& source, 32 net::NetLog::EventPhase phase, 33 net::NetLog::EventParameters* params);
|
load_timing_observer.h | 22 // LoadTimingObserver watches the NetLog event stream and collects the network 68 virtual void OnAddEntry(net::NetLog::EventType type, 70 const net::NetLog::Source& source, 71 net::NetLog::EventPhase phase, 72 net::NetLog::EventParameters* params); 85 void OnAddURLRequestEntry(net::NetLog::EventType type, 87 const net::NetLog::Source& source, 88 net::NetLog::EventPhase phase, 89 net::NetLog::EventParameters* params); 91 void OnAddHTTPStreamJobEntry(net::NetLog::EventType type [all...] |
load_timing_observer_unittest.cc | 18 using net::NetLog; 35 const NetLog::Source& source, 36 NetLog::EventType type, 37 NetLog::EventParameters* params) { 38 observer.OnAddEntry(type, current_time, source, NetLog::PHASE_BEGIN, params); 42 const NetLog::Source& source, 43 NetLog::EventType type, 44 NetLog::EventParameters* params) { 45 observer.OnAddEntry(type, current_time, source, NetLog::PHASE_END, params); 57 NetLog::Source source(NetLog::SOURCE_URL_REQUEST, id) [all...] |
net_log_logger.cc | 15 : ThreadSafeObserver(net::NetLog::LOG_ALL_BUT_BYTES) { 24 void NetLogLogger::OnAddEntry(net::NetLog::EventType type, 26 const net::NetLog::Source& source, 27 net::NetLog::EventPhase phase, 28 net::NetLog::EventParameters* params) { 29 scoped_ptr<Value> value(net::NetLog::EntryToDictionaryValue(type, time,
|
proxy_service_factory.h | 15 class NetLog; 30 net::NetLog* net_log,
|
/external/chromium_org/content/browser/download/ |
download_net_log_parameters.h | 28 // Returns NetLog parameters when a DownloadItem is activated. 33 net::NetLog::LogLevel log_level); 35 // Returns NetLog parameters when a DownloadItem is checked for danger. 38 net::NetLog::LogLevel log_level); 40 // Returns NetLog parameters when a DownloadItem is renamed. 43 net::NetLog::LogLevel log_level); 45 // Returns NetLog parameters when a DownloadItem is interrupted. 49 net::NetLog::LogLevel log_level); 51 // Returns NetLog parameters when a DownloadItem is resumed. 56 net::NetLog::LogLevel log_level) [all...] |
/external/chromium_org/net/cert/ |
x509_certificate_net_log_param.h | 14 // Creates NetLog parameter to describe an X509Certificate. 17 NetLog::LogLevel log_level);
|
/external/chromium_org/net/websockets/ |
websocket_net_log_params.h | 17 NetLog::LogLevel /* log_level */);
|
/external/chromium_org/remoting/base/ |
vlog_net_log.h | 14 // Redirectes all networking events (i.e. events logged through net::NetLog) to 15 // VLOG(4). Note that an explicit reference to a net::NetLog object has to be 18 class VlogNetLog : public net::NetLog {
|
/external/chromium/net/disk_cache/ |
net_log_parameters.h | 13 // This file contains a set of NetLog::EventParameters shared by EntryImpls and 17 // NetLog parameters for the creation of an Entry. Contains the Entry's name 19 class EntryCreationParameters : public net::NetLog::EventParameters { 31 // NetLog parameters for non-sparse reading and writing to an Entry. 32 class ReadWriteDataParameters : public net::NetLog::EventParameters { 47 // NetLog parameters for when a non-sparse read or write completes. 48 class ReadWriteCompleteParameters : public net::NetLog::EventParameters { 62 // NetLog parameters for when a sparse operation is started. 63 class SparseOperationParameters : public net::NetLog::EventParameters { 73 // NetLog parameters for when a read or write for a sparse entry's child i [all...] |
/external/chromium_org/net/dns/ |
dns_client.h | 16 class NetLog; 38 static scoped_ptr<DnsClient> CreateClient(NetLog* net_log);
|
/external/chromium_org/net/proxy/ |
proxy_service_v8.h | 15 class NetLog; 45 NetLog* net_log,
|