Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: chrome/browser/sync/test/integration/multi_client_status_change_checker.h

Issue 165393010: Draft: Moving code out of ProfileSyncServiceHarness (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698