| 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_
|
|
|