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

Side by Side Diff: chrome/browser/sync/test/integration/single_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_SINGLE_CLIENT_STATUS_CHANGE_CHECKER _H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHECKER _H_
7
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/sync/test/integration/status_change_checker.h"
10
11 class ProfileSyncService;
12 class ProfileSyncServiceObserver;
13
14 class SingleClientStatusChangeChecker : public StatusChangeChecker {
15 public:
16 explicit SingleClientStatusChangeChecker(ProfileSyncService* service);
17 virtual ~SingleClientStatusChangeChecker();
18
19 // StatusChangeChecker implementations and stubs.
20 virtual bool IsExitConditionSatisfied() = 0;
21 virtual std::string GetDebugMessage() const = 0;
22 virtual base::TimeDelta GetTimeoutDuration() OVERRIDE;
23 virtual void InitObserver(ProfileSyncServiceObserver*) OVERRIDE;
24 virtual void UninitObserver(ProfileSyncServiceObserver*) OVERRIDE;
25
26 protected:
27 ProfileSyncService* service() { return service_; }
28
29 private:
30 ProfileSyncService* service_;
31 };
32
33 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHEC KER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698