1// Copyright 2013 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "sync/test/sessions/mock_debug_info_getter.h" 6 7namespace syncer { 8namespace sessions { 9 10MockDebugInfoGetter::MockDebugInfoGetter() { 11} 12 13MockDebugInfoGetter::~MockDebugInfoGetter() { 14} 15 16void MockDebugInfoGetter::GetDebugInfo(sync_pb::DebugInfo* debug_info) { 17 debug_info->CopyFrom(debug_info_); 18} 19 20void MockDebugInfoGetter::ClearDebugInfo() { 21 debug_info_.Clear(); 22} 23 24void MockDebugInfoGetter::AddDebugEvent() { 25 debug_info_.add_events(); 26} 27 28} // namespace sessions 29} // namespace syncer 30