#include "net/log/test_net_log.h"
#include "base/synchronization/lock.h"
#include "base/values.h"
#include "net/log/net_log_capture_mode.h"
#include "net/log/net_log_entry.h"
#include "net/log/net_log_source.h"
#include "net/log/net_log_source_type.h"
namespace net {
RecordingNetLogObserver::RecordingNetLogObserver()
: … { … }
RecordingNetLogObserver::RecordingNetLogObserver(NetLogCaptureMode capture_mode)
: … { … }
RecordingNetLogObserver::RecordingNetLogObserver(NetLog* net_log,
NetLogCaptureMode capture_mode)
: … { … }
RecordingNetLogObserver::~RecordingNetLogObserver() { … }
std::vector<NetLogEntry> RecordingNetLogObserver::GetEntries() const { … }
std::vector<NetLogEntry> RecordingNetLogObserver::GetEntriesForSource(
NetLogSource source) const { … }
std::vector<NetLogEntry> RecordingNetLogObserver::GetEntriesWithType(
NetLogEventType type) const { … }
std::vector<NetLogEntry> RecordingNetLogObserver::GetEntriesForSourceWithType(
NetLogSource source,
NetLogEventType type,
NetLogEventPhase phase) const { … }
size_t RecordingNetLogObserver::GetSize() const { … }
void RecordingNetLogObserver::Clear() { … }
void RecordingNetLogObserver::OnAddEntry(const NetLogEntry& entry) { … }
void RecordingNetLogObserver::SetObserverCaptureMode(
NetLogCaptureMode capture_mode) { … }
void RecordingNetLogObserver::SetThreadsafeAddEntryCallback(
base::RepeatingClosure add_entry_callback) { … }
}