This source file includes following definitions.
- GetDebugInfo
- ClearDebugInfo
- AddDebugEvent
#include "sync/test/sessions/mock_debug_info_getter.h"
namespace syncer {
namespace sessions {
MockDebugInfoGetter::MockDebugInfoGetter() {
}
MockDebugInfoGetter::~MockDebugInfoGetter() {
}
void MockDebugInfoGetter::GetDebugInfo(sync_pb::DebugInfo* debug_info) {
debug_info->CopyFrom(debug_info_);
}
void MockDebugInfoGetter::ClearDebugInfo() {
debug_info_.Clear();
}
void MockDebugInfoGetter::AddDebugEvent() {
debug_info_.add_events();
}
}
}