Index: chrome/browser/sync/test/integration/profile_sync_service_harness.h |
diff --git a/chrome/browser/sync/test/integration/profile_sync_service_harness.h b/chrome/browser/sync/test/integration/profile_sync_service_harness.h |
index 26c3db691970f6de04ffe74f05ab6849f78296ec..5b7ddd5b54d133ba3f9872cfb8c65672fe36d2b6 100644 |
--- a/chrome/browser/sync/test/integration/profile_sync_service_harness.h |
+++ b/chrome/browser/sync/test/integration/profile_sync_service_harness.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ |
#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_PROFILE_SYNC_SERVICE_HARNESS_H_ |
+#include <memory> |
#include <string> |
#include <vector> |
@@ -72,14 +73,14 @@ class ProfileSyncServiceHarness { |
// Note: Use this method when exactly one client makes local change(s), |
// and more than one client is waiting to receive those changes. |
bool AwaitGroupSyncCycleCompletion( |
- std::vector<ProfileSyncServiceHarness*>& partners); |
+ const std::vector<ProfileSyncServiceHarness*>& partners); |
// Blocks the caller until every client in |clients| completes its ongoing |
// sync cycle and all the clients' progress markers match. Note: Use this |
// method when more than one client makes local change(s), and more than one |
// client is waiting to receive those changes. |
static bool AwaitQuiescence( |
- std::vector<ProfileSyncServiceHarness*>& clients); |
+ const std::vector<ProfileSyncServiceHarness*>& clients); |
// Blocks the caller until the sync backend is initialized or some end state |
// (e.g., auth error) is reached. Returns true if and only if the backend |