| Index: chrome/browser/sync/test/integration/single_client_status_change_checker.h
|
| diff --git a/chrome/browser/sync/test/integration/single_client_status_change_checker.h b/chrome/browser/sync/test/integration/single_client_status_change_checker.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..61eb02dc3bc55b113aa3ca46a310afad74ce69a4
|
| --- /dev/null
|
| +++ b/chrome/browser/sync/test/integration/single_client_status_change_checker.h
|
| @@ -0,0 +1,33 @@
|
| +// 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_SINGLE_CLIENT_STATUS_CHANGE_CHECKER_H_
|
| +#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHECKER_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "chrome/browser/sync/test/integration/status_change_checker.h"
|
| +
|
| +class ProfileSyncService;
|
| +class ProfileSyncServiceObserver;
|
| +
|
| +class SingleClientStatusChangeChecker : public StatusChangeChecker {
|
| + public:
|
| + explicit SingleClientStatusChangeChecker(ProfileSyncService* service);
|
| + virtual ~SingleClientStatusChangeChecker();
|
| +
|
| + // 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:
|
| + ProfileSyncService* service() { return service_; }
|
| +
|
| + private:
|
| + ProfileSyncService* service_;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHECKER_H_
|
|
|