summaryrefslogtreecommitdiffstats
path: root/chrome/test/live_sync/live_sync_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/live_sync/live_sync_test.h')
-rw-r--r--chrome/test/live_sync/live_sync_test.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/live_sync/live_sync_test.h b/chrome/test/live_sync/live_sync_test.h
index 21a305e..e953170 100644
--- a/chrome/test/live_sync/live_sync_test.h
+++ b/chrome/test/live_sync/live_sync_test.h
@@ -16,6 +16,7 @@
#include "net/socket/ssl_test_util.h"
#include <string>
+#include <vector>
class CommandLine;
class Profile;
@@ -102,6 +103,12 @@ class LiveSyncTest : public InProcessBrowserTest {
// and manages its lifetime.
ProfileSyncServiceTestHarness* GetClient(int index);
+ // Returns a reference to the collection of sync clients. Callee owns the
+ // object and manages its lifetime.
+ std::vector<ProfileSyncServiceTestHarness*>& clients() {
+ return clients_.get();
+ }
+
// Returns a pointer to the sync profile that is used to verify changes to
// individual sync profiles. Callee owns the object and manages its lifetime.
Profile* verifier();