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

Unified Diff: sync/test/fake_server/fake_server.h

Issue 296743005: sync: Implement fake server reflection blocking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split enable and disable methods Created 6 years, 7 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/test/integration/sync_test.cc ('k') | sync/test/fake_server/fake_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/fake_server.h
diff --git a/sync/test/fake_server/fake_server.h b/sync/test/fake_server/fake_server.h
index 8bb2c088491e3c28154627c221dbec8a8c7e32bf..c33db91cce89db08192293d209c040c4ec373ce5 100644
--- a/sync/test/fake_server/fake_server.h
+++ b/sync/test/fake_server/fake_server.h
@@ -32,7 +32,9 @@ class FakeServer {
// Called after FakeServer has processed a successful commit. The types
// updated as part of the commit are passed in |committed_model_types|.
- virtual void OnCommit(syncer::ModelTypeSet committed_model_types) = 0;
+ virtual void OnCommit(
+ const std::string& committer_id,
+ syncer::ModelTypeSet committed_model_types) = 0;
};
FakeServer();
@@ -71,7 +73,8 @@ class FakeServer {
sync_pb::GetUpdatesResponse* response);
// Processes a Commit call.
- bool HandleCommitRequest(const sync_pb::CommitMessage& commit,
+ bool HandleCommitRequest(const sync_pb::CommitMessage& message,
+ const std::string& invalidator_client_id,
sync_pb::CommitResponse* response);
// Inserts the default permanent items in |entities_|.
« no previous file with comments | « chrome/browser/sync/test/integration/sync_test.cc ('k') | sync/test/fake_server/fake_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698