blob: 8c4e793a6397dc025c91dcefa948350d9a1022d1 [file] [log] [blame]
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/test/mock_debug_info_getter.h"
namespace syncer {
MockDebugInfoGetter::MockDebugInfoGetter() = default;
MockDebugInfoGetter::~MockDebugInfoGetter() = default;
sync_pb::DebugInfo MockDebugInfoGetter::GetDebugInfo() const {
return debug_info_;
}
void MockDebugInfoGetter::ClearDebugInfo() {
debug_info_.Clear();
}
void MockDebugInfoGetter::AddDebugEvent() {
debug_info_.add_events();
}
} // namespace syncer