| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECKER_
H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECKER_
H_ |
| 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "base/compiler_specific.h" |
| 11 #include "chrome/browser/sync/test/integration/status_change_checker.h" |
| 12 |
| 13 class ProfileSyncService; |
| 14 class ProfileSyncServiceObserver; |
| 15 |
| 16 class MultiClientStatusChangeChecker : public StatusChangeChecker { |
| 17 public: |
| 18 explicit MultiClientStatusChangeChecker( |
| 19 std::vector<ProfileSyncService*> services); |
| 20 virtual ~MultiClientStatusChangeChecker(); |
| 21 |
| 22 // StatusChangeChecker implementations and stubs. |
| 23 virtual bool IsExitConditionSatisfied() = 0; |
| 24 virtual std::string GetDebugMessage() const = 0; |
| 25 virtual base::TimeDelta GetTimeoutDuration() OVERRIDE; |
| 26 virtual void InitObserver(ProfileSyncServiceObserver*) OVERRIDE; |
| 27 virtual void UninitObserver(ProfileSyncServiceObserver*) OVERRIDE; |
| 28 |
| 29 protected: |
| 30 typedef std::vector<ProfileSyncService*> ServiceList; |
| 31 ServiceList services_; |
| 32 }; |
| 33 |
| 34 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECK
ER_H_ |
| OLD | NEW |