Searched defs:ScopedMockLog (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/net/test/
H A Dscoped_mock_log.h15 // A ScopedMockLog object intercepts LOG() messages issued during its
20 // ScopedMockLog log;
37 // LOG() in an action triggered by ScopedMockLog::Log(). You may call
39 class ScopedMockLog { class in namespace:net::test
41 // Creates a ScopedMockLog object that is not capturing logs.
47 ScopedMockLog();
50 ~ScopedMockLog();
78 static ScopedMockLog* g_instance_;
91 // The previous handler to restore when the ScopedMockLog is destroyed.
H A Dscoped_mock_log.cc13 ScopedMockLog* ScopedMockLog::g_instance_ = NULL;
15 ScopedMockLog::ScopedMockLog() : is_capturing_logs_(false) {} function in class:net::test::ScopedMockLog
17 ScopedMockLog::~ScopedMockLog() {
23 void ScopedMockLog::StartCapturingLogs() {
25 // thus can confuse ScopedMockLog objects or other registered
36 void ScopedMockLog::StopCapturingLogs() {
38 // thus can confuse ScopedMockLog object
[all...]

Completed in 185 milliseconds