Index: sync/sessions/test_util.h |
diff --git a/sync/sessions/test_util.h b/sync/sessions/test_util.h |
index c670128c6d095c9d2264802ba404f7321bddb4a6..bbdf32a5af5ea2d4ea419909138870ac813802dc 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, |
+ base::TimeDelta delay); |
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) { |
+ SimulateGuRetryDelayCommandImpl(arg0, delay); |
+} |
+ |
} // namespace test_util |
} // namespace sessions |
} // namespace syncer |