blob: 524c5cf778506478a5477198b45b20ef0d64d0db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// 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
|