Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Side by Side Diff: components/sync/test/sessions/mock_debug_info_getter.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/test/sessions/mock_debug_info_getter.h" 5 #include "components/sync/test/sessions/mock_debug_info_getter.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 namespace sessions { 8 namespace sessions {
9 9
10 MockDebugInfoGetter::MockDebugInfoGetter() { 10 MockDebugInfoGetter::MockDebugInfoGetter() {}
11 }
12 11
13 MockDebugInfoGetter::~MockDebugInfoGetter() { 12 MockDebugInfoGetter::~MockDebugInfoGetter() {}
14 }
15 13
16 void MockDebugInfoGetter::GetDebugInfo(sync_pb::DebugInfo* debug_info) { 14 void MockDebugInfoGetter::GetDebugInfo(sync_pb::DebugInfo* debug_info) {
17 debug_info->CopyFrom(debug_info_); 15 debug_info->CopyFrom(debug_info_);
18 } 16 }
19 17
20 void MockDebugInfoGetter::ClearDebugInfo() { 18 void MockDebugInfoGetter::ClearDebugInfo() {
21 debug_info_.Clear(); 19 debug_info_.Clear();
22 } 20 }
23 21
24 void MockDebugInfoGetter::AddDebugEvent() { 22 void MockDebugInfoGetter::AddDebugEvent() {
25 debug_info_.add_events(); 23 debug_info_.add_events();
26 } 24 }
27 25
28 } // namespace sessions 26 } // namespace sessions
29 } // namespace syncer 27 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698