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

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

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHECKER _H_ 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_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHECKER _H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke r.h" 10 #include "chrome/browser/sync/test/integration/multi_client_status_change_checke r.h"
11 #include "components/sync_driver/sync_service_observer.h" 11 #include "components/sync/driver/sync_service_observer.h"
12 12
13 class ProfileSyncService; 13 class ProfileSyncService;
14 14
15 // This class provides some common functionality for StatusChangeCheckers that 15 // This class provides some common functionality for StatusChangeCheckers that
16 // observe only one ProfileSyncService. This class is abstract. Its 16 // observe only one ProfileSyncService. This class is abstract. Its
17 // descendants are expected to provide additional functionality. 17 // descendants are expected to provide additional functionality.
18 class SingleClientStatusChangeChecker 18 class SingleClientStatusChangeChecker
19 : public MultiClientStatusChangeChecker { 19 : public MultiClientStatusChangeChecker {
20 public: 20 public:
21 explicit SingleClientStatusChangeChecker(ProfileSyncService* service); 21 explicit SingleClientStatusChangeChecker(ProfileSyncService* service);
22 ~SingleClientStatusChangeChecker() override; 22 ~SingleClientStatusChangeChecker() override;
23 23
24 // StatusChangeChecker implementations and stubs. 24 // StatusChangeChecker implementations and stubs.
25 bool IsExitConditionSatisfied() override = 0; 25 bool IsExitConditionSatisfied() override = 0;
26 std::string GetDebugMessage() const override = 0; 26 std::string GetDebugMessage() const override = 0;
27 27
28 protected: 28 protected:
29 ProfileSyncService* service(); 29 ProfileSyncService* service();
30 }; 30 };
31 31
32 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHEC KER_H_ 32 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHEC KER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/sessions_helper.cc ('k') | chrome/browser/sync/test/integration/sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698