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

Unified Diff: chrome/browser/sync/sessions/test_util.cc

Issue 7604019: [Sync] Add client-side plumbing for server control of sessions commit delay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error and address comments Created 9 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
« no previous file with comments | « chrome/browser/sync/sessions/test_util.h ('k') | chrome/test/sync/engine/syncer_command_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/test_util.cc
diff --git a/chrome/browser/sync/sessions/test_util.cc b/chrome/browser/sync/sessions/test_util.cc
index 6f69de6d7abc37a7447d8200be9063c8c234b841..65d307b7387adddf3251381faa0c0a43a029787d 100644
--- a/chrome/browser/sync/sessions/test_util.cc
+++ b/chrome/browser/sync/sessions/test_util.cc
@@ -52,6 +52,11 @@ void SimulatePollIntervalUpdateImpl(sessions::SyncSession* session,
session->delegate()->OnReceivedLongPollIntervalUpdate(new_poll);
}
+void SimulateSessionsCommitDelayUpdateImpl(sessions::SyncSession* session,
+ const base::TimeDelta& new_delay) {
+ session->delegate()->OnReceivedSessionsCommitDelay(new_delay);
+}
+
} // namespace test_util
} // namespace sessions
} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/sessions/test_util.h ('k') | chrome/test/sync/engine/syncer_command_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698