#ifndef CHROME_RENDERER_MEDIA_MOCK_WEBRTC_LOGGING_MESSAGE_FILTER_H_
#define CHROME_RENDERER_MEDIA_MOCK_WEBRTC_LOGGING_MESSAGE_FILTER_H_
#include "chrome/renderer/media/webrtc_logging_message_filter.h"
class MockWebRtcLoggingMessageFilter
: public WebRtcLoggingMessageFilter {
public:
explicit MockWebRtcLoggingMessageFilter(
const scoped_refptr<base::MessageLoopProxy>& io_message_loop);
virtual void AddLogMessages(
const std::vector<WebRtcLoggingMessageData>& messages) OVERRIDE;
virtual void LoggingStopped() OVERRIDE;
ChromeWebRtcLogMessageDelegate* log_message_delegate() {
return log_message_delegate_;
}
std::string log_buffer_;
bool logging_stopped_;
protected:
virtual ~MockWebRtcLoggingMessageFilter();
private:
DISALLOW_COPY_AND_ASSIGN(MockWebRtcLoggingMessageFilter);
};
#endif