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

Unified Diff: components/sync/test/engine/mock_model_type_worker.h

Issue 2363853002: [Sync] Test that MergeSyncData is not called on subsequent starts. (Closed)
Patch Set: Remove OnInitialSyncDone. Created 4 years, 3 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
Index: components/sync/test/engine/mock_model_type_worker.h
diff --git a/components/sync/test/engine/mock_model_type_worker.h b/components/sync/test/engine/mock_model_type_worker.h
index b7cb49a084d2b0638a81e3528e971cfde11e3bb2..7fc5b7a4d80d193533a710ba3cb9e6c0e1fc434e 100644
--- a/components/sync/test/engine/mock_model_type_worker.h
+++ b/components/sync/test/engine/mock_model_type_worker.h
@@ -53,9 +53,10 @@ class MockModelTypeWorker : public CommitQueue {
// length one.
void ExpectPendingCommits(const std::vector<std::string>& tag_hashes);
- // Trigger an update from the server containing a single entity. See
- // GenerateUpdateData for parameter descriptions. |version_offset| defaults to
- // 1 and |ekn| defaults to the current encryption key name the worker has.
+ // Trigger an update from the server. See GenerateUpdateData for parameter
+ // descriptions. |version_offset| defaults to 1 and |ekn| defaults to the
+ // current encryption key name the worker has.
+ void UpdateFromServer();
void UpdateFromServer(const std::string& tag_hash,
const sync_pb::EntitySpecifics& specifics);
void UpdateFromServer(const std::string& tag_hash,
« no previous file with comments | « components/sync/core/shared_model_type_processor_unittest.cc ('k') | components/sync/test/engine/mock_model_type_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698