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

Unified Diff: components/sync/sessions_impl/test_util.h

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, 5 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
« no previous file with comments | « components/sync/sessions_impl/sync_session_context.cc ('k') | components/sync/sessions_impl/test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/sessions_impl/test_util.h
diff --git a/sync/sessions/test_util.h b/components/sync/sessions_impl/test_util.h
similarity index 82%
rename from sync/sessions/test_util.h
rename to components/sync/sessions_impl/test_util.h
index 3e905dd908593b606b40e10d074d129f482b3c91..dc1028b51b67baa03d85156613ca8e1013c9318b 100644
--- a/sync/sessions/test_util.h
+++ b/components/sync/sessions_impl/test_util.h
@@ -3,11 +3,11 @@
// found in the LICENSE file.
//
// Utils to simulate various outcomes of a sync session.
-#ifndef SYNC_SESSIONS_TEST_UTIL_H_
-#define SYNC_SESSIONS_TEST_UTIL_H_
+#ifndef COMPONENTS_SYNC_SESSIONS_IMPL_TEST_UTIL_H_
+#define COMPONENTS_SYNC_SESSIONS_IMPL_TEST_UTIL_H_
-#include "sync/engine/syncer.h"
-#include "sync/sessions/sync_session.h"
+#include "components/sync/engine_impl/syncer.h"
+#include "components/sync/sessions_impl/sync_session.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -57,18 +57,16 @@ void SimulateGuRetryDelayCommandImpl(sessions::SyncSession* session,
base::TimeDelta delay);
void SimulateThrottledImpl(sessions::SyncSession* session,
- const base::TimeDelta& delta);
+ const base::TimeDelta& delta);
-void SimulateTypesThrottledImpl(
- sessions::SyncSession* session,
- ModelTypeSet types,
- const base::TimeDelta& delta);
+void SimulateTypesThrottledImpl(sessions::SyncSession* session,
+ ModelTypeSet types,
+ const base::TimeDelta& delta);
// Works with poll cycles.
-void SimulatePollIntervalUpdateImpl(
- ModelTypeSet requested_types,
- sessions::SyncSession* session,
- const base::TimeDelta& new_poll);
+void SimulatePollIntervalUpdateImpl(ModelTypeSet requested_types,
+ sessions::SyncSession* session,
+ const base::TimeDelta& new_poll);
// Works with normal cycles.
void SimulateSessionsCommitDelayUpdateImpl(
@@ -101,4 +99,4 @@ ACTION_P(SimulateGuRetryDelayCommand, delay) {
} // namespace sessions
} // namespace syncer
-#endif // SYNC_SESSIONS_TEST_UTIL_H_
+#endif // COMPONENTS_SYNC_SESSIONS_IMPL_TEST_UTIL_H_
« no previous file with comments | « components/sync/sessions_impl/sync_session_context.cc ('k') | components/sync/sessions_impl/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698