Index: chrome/browser/sync/test/integration/sync_test.h |
diff --git a/chrome/browser/sync/test/integration/sync_test.h b/chrome/browser/sync/test/integration/sync_test.h |
index b9e734d5dcaa63bbda414204fc9d92f360614f28..6c32d8372a8f611a3cffd55905ee3d4db96b736f 100644 |
--- a/chrome/browser/sync/test/integration/sync_test.h |
+++ b/chrome/browser/sync/test/integration/sync_test.h |
@@ -32,6 +32,7 @@ class CommandLine; |
namespace fake_server { |
class FakeServer; |
+class FakeServerInvalidationService; |
} |
namespace net { |
@@ -363,6 +364,10 @@ class SyncTest : public InProcessBrowserTest { |
// of test being run and command line args passed in. |
void DecideServerType(); |
+ // Sets up the client-side invalidations infrastructure depending on the |
+ // value of |server_type_|. |
+ void InitializeInvalidations(int index); |
+ |
// Python sync test server, started on demand. |
syncer::LocalSyncTestServer sync_server_; |
@@ -399,6 +404,10 @@ class SyncTest : public InProcessBrowserTest { |
// of this activity to its peer sync clients. |
ScopedVector<P2PInvalidationForwarder> invalidation_forwarders_; |
+ // Collection of pointers to FakeServerInvalidation objects for each profile. |
+ std::vector<fake_server::FakeServerInvalidationService*> |
+ fake_server_invalidation_services_; |
+ |
// Sync profile against which changes to individual profiles are verified. We |
// don't need a corresponding verifier sync client because the contents of the |
// verifier profile are strictly local, and are not meant to be synced. |