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

Unified Diff: components/sync/engine_impl/cycle/mock_debug_info_getter.h

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 side-by-side diff with in-line comments
Download patch
Index: components/sync/engine_impl/cycle/mock_debug_info_getter.h
diff --git a/components/sync/test/sessions/mock_debug_info_getter.h b/components/sync/engine_impl/cycle/mock_debug_info_getter.h
similarity index 68%
rename from components/sync/test/sessions/mock_debug_info_getter.h
rename to components/sync/engine_impl/cycle/mock_debug_info_getter.h
index 5ecc421fae344e943eb8243b1163ca6a6088f7e6..4d6d8835d917d743bd645d5a602ef9c39471f49d 100644
--- a/components/sync/test/sessions/mock_debug_info_getter.h
+++ b/components/sync/engine_impl/cycle/mock_debug_info_getter.h
@@ -2,20 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SYNC_TEST_SESSIONS_MOCK_DEBUG_INFO_GETTER_H_
-#define COMPONENTS_SYNC_TEST_SESSIONS_MOCK_DEBUG_INFO_GETTER_H_
+#ifndef COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_MOCK_DEBUG_INFO_GETTER_H_
+#define COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_MOCK_DEBUG_INFO_GETTER_H_
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "components/sync/engine_impl/cycle/debug_info_getter.h"
#include "components/sync/protocol/sync.pb.h"
-#include "components/sync/sessions_impl/debug_info_getter.h"
namespace syncer {
-namespace sessions {
// A mock implementation of DebugInfoGetter to be used in tests. Events added by
// AddDebugEvent are accessible via DebugInfoGetter methods.
-class MockDebugInfoGetter : public sessions::DebugInfoGetter {
+class MockDebugInfoGetter : public DebugInfoGetter {
public:
MockDebugInfoGetter();
~MockDebugInfoGetter() override;
@@ -32,7 +31,6 @@ class MockDebugInfoGetter : public sessions::DebugInfoGetter {
DISALLOW_COPY_AND_ASSIGN(MockDebugInfoGetter);
};
-} // namespace sessions
} // namespace syncer
-#endif // COMPONENTS_SYNC_TEST_SESSIONS_MOCK_DEBUG_INFO_GETTER_H_
+#endif // COMPONENTS_SYNC_ENGINE_IMPL_CYCLE_MOCK_DEBUG_INFO_GETTER_H_

Powered by Google App Engine
This is Rietveld 408576698