| Index: sync/test/sessions/mock_debug_info_getter.cc
|
| diff --git a/sync/test/sessions/mock_debug_info_getter.cc b/sync/test/sessions/mock_debug_info_getter.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c86fb22df41e218dd4d48e59b313aa7c435a377b
|
| --- /dev/null
|
| +++ b/sync/test/sessions/mock_debug_info_getter.cc
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#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();
|
| +}
|
| +
|
| +
|
| +} // namespace sessions
|
| +} // namespace syncer
|
|
|