diff options
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/sync/engine/mock_connection_manager.h | 4 | ||||
-rw-r--r-- | chrome/test/sync/engine/syncer_command_test.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/sync/engine/mock_connection_manager.h b/chrome/test/sync/engine/mock_connection_manager.h index be2144f..dd2573d 100644 --- a/chrome/test/sync/engine/mock_connection_manager.h +++ b/chrome/test/sync/engine/mock_connection_manager.h @@ -177,6 +177,10 @@ class MockConnectionManager : public browser_sync::ServerConnectionManager { use_legacy_bookmarks_protocol_ = value; } + void set_store_birthday(string new_birthday) { + store_birthday_ = new_birthday; + } + // Retrieve the number of GetUpdates requests that the mock server has // seen since the last time this function was called. Can be used to // verify that a GetUpdates actually did or did not happen after running diff --git a/chrome/test/sync/engine/syncer_command_test.h b/chrome/test/sync/engine/syncer_command_test.h index 9a3c87c..719a22d 100644 --- a/chrome/test/sync/engine/syncer_command_test.h +++ b/chrome/test/sync/engine/syncer_command_test.h @@ -44,6 +44,9 @@ class SyncerCommandTestWithParam : public testing::TestWithParam<T>, const base::TimeDelta& new_interval) { FAIL() << "Should not get poll interval update."; } + virtual void OnShouldStopSyncingPermanently() { + FAIL() << "Shouldn't be forced to stop syncing."; + } // ModelSafeWorkerRegistrar implementation. virtual void GetWorkers(std::vector<ModelSafeWorker*>* out) { |