| Index: sync/sessions/test_util.h
|
| diff --git a/sync/sessions/test_util.h b/sync/sessions/test_util.h
|
| index c670128c6d095c9d2264802ba404f7321bddb4a6..2e18834bb47843029e79d0bac1963a0d7d738ed7 100644
|
| --- a/sync/sessions/test_util.h
|
| +++ b/sync/sessions/test_util.h
|
| @@ -47,11 +47,14 @@ void SimulateConnectionFailure(ModelTypeSet requested_types,
|
| const sessions::NudgeTracker& nudge_tracker,
|
| sessions::SyncSession* session);
|
|
|
| -// Poll successes and failures.
|
| -void SimulatePollSuccess(ModelTypeSet requested_types,
|
| - sessions::SyncSession* session);
|
| -void SimulatePollFailed(ModelTypeSet requested_types,
|
| - sessions::SyncSession* session);
|
| +// Poll/Retry successes and failures.
|
| +void SimulatePollRetrySuccess(ModelTypeSet requested_types,
|
| + sessions::SyncSession* session);
|
| +void SimulatePollRetryFailed(ModelTypeSet requested_types,
|
| + sessions::SyncSession* session);
|
| +
|
| +void SimulateGuRetryDelayCommandImpl(sessions::SyncSession* session,
|
| + int delay_seconds);
|
|
|
| void SimulateThrottledImpl(sessions::SyncSession* session,
|
| const base::TimeDelta& delta);
|
| @@ -90,6 +93,10 @@ ACTION_P(SimulateSessionsCommitDelayUpdate, poll) {
|
| SimulateSessionsCommitDelayUpdateImpl(arg0, arg1, arg2, poll);
|
| }
|
|
|
| +ACTION_P(SimulateGuRetryDelayCommand, delay_seconds) {
|
| + SimulateGuRetryDelayCommandImpl(arg0, delay_seconds);
|
| +}
|
| +
|
| } // namespace test_util
|
| } // namespace sessions
|
| } // namespace syncer
|
|
|