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

Side by Side Diff: components/sync/engine_impl/cycle/mock_debug_info_getter.cc

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. 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 "components/sync/test/sessions/mock_debug_info_getter.h" 5 #include "components/sync/engine_impl/cycle/mock_debug_info_getter.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 namespace sessions {
9 8
10 MockDebugInfoGetter::MockDebugInfoGetter() {} 9 MockDebugInfoGetter::MockDebugInfoGetter() {}
11 10
12 MockDebugInfoGetter::~MockDebugInfoGetter() {} 11 MockDebugInfoGetter::~MockDebugInfoGetter() {}
13 12
14 void MockDebugInfoGetter::GetDebugInfo(sync_pb::DebugInfo* debug_info) { 13 void MockDebugInfoGetter::GetDebugInfo(sync_pb::DebugInfo* debug_info) {
15 debug_info->CopyFrom(debug_info_); 14 debug_info->CopyFrom(debug_info_);
16 } 15 }
17 16
18 void MockDebugInfoGetter::ClearDebugInfo() { 17 void MockDebugInfoGetter::ClearDebugInfo() {
19 debug_info_.Clear(); 18 debug_info_.Clear();
20 } 19 }
21 20
22 void MockDebugInfoGetter::AddDebugEvent() { 21 void MockDebugInfoGetter::AddDebugEvent() {
23 debug_info_.add_events(); 22 debug_info_.add_events();
24 } 23 }
25 24
26 } // namespace sessions
27 } // namespace syncer 25 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/cycle/mock_debug_info_getter.h ('k') | components/sync/engine_impl/cycle/nudge_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698