| Index: chrome/browser/sync/test/integration/multi_client_status_change_checker.h
|
| diff --git a/chrome/browser/sync/test/integration/multi_client_status_change_checker.h b/chrome/browser/sync/test/integration/multi_client_status_change_checker.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f1f106f6080e5710c5260337fa0bc358a1f33e66
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/test/integration/multi_client_status_change_checker.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECKER_H_
|
| +#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECKER_H_
|
| +
|
| +#include <vector>
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "chrome/browser/sync/test/integration/status_change_checker.h"
|
| +
|
| +class ProfileSyncService;
|
| +class ProfileSyncServiceObserver;
|
| +
|
| +class MultiClientStatusChangeChecker : public StatusChangeChecker {
|
| + public:
|
| + explicit MultiClientStatusChangeChecker(
|
| + std::vector<ProfileSyncService*> services);
|
| + virtual ~MultiClientStatusChangeChecker();
|
| +
|
| + // StatusChangeChecker implementations and stubs.
|
| + virtual bool IsExitConditionSatisfied() = 0;
|
| + virtual std::string GetDebugMessage() const = 0;
|
| + virtual base::TimeDelta GetTimeoutDuration() OVERRIDE;
|
| + virtual void InitObserver(ProfileSyncServiceObserver*) OVERRIDE;
|
| + virtual void UninitObserver(ProfileSyncServiceObserver*) OVERRIDE;
|
| +
|
| + protected:
|
| + typedef std::vector<ProfileSyncService*> ServiceList;
|
| + ServiceList services_;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECKER_H_
|
|
|