| OLD | NEW |
| (Empty) |
| 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 "components/sync/test/sessions/mock_debug_info_getter.h" | |
| 6 | |
| 7 namespace syncer { | |
| 8 namespace sessions { | |
| 9 | |
| 10 MockDebugInfoGetter::MockDebugInfoGetter() {} | |
| 11 | |
| 12 MockDebugInfoGetter::~MockDebugInfoGetter() {} | |
| 13 | |
| 14 void MockDebugInfoGetter::GetDebugInfo(sync_pb::DebugInfo* debug_info) { | |
| 15 debug_info->CopyFrom(debug_info_); | |
| 16 } | |
| 17 | |
| 18 void MockDebugInfoGetter::ClearDebugInfo() { | |
| 19 debug_info_.Clear(); | |
| 20 } | |
| 21 | |
| 22 void MockDebugInfoGetter::AddDebugEvent() { | |
| 23 debug_info_.add_events(); | |
| 24 } | |
| 25 | |
| 26 } // namespace sessions | |
| 27 } // namespace syncer | |
| OLD | NEW |