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

Side by Side Diff: chrome/browser/sync/test/integration/multi_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_MULTI_CLIENT_STATUS_CHANGE_CHECKER_ H_ 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_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECKER_ H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "chrome/browser/sync/test/integration/status_change_checker.h" 12 #include "chrome/browser/sync/test/integration/status_change_checker.h"
13 #include "components/sync_driver/sync_service_observer.h" 13 #include "components/sync/driver/sync_service_observer.h"
14 14
15 class ProfileSyncService; 15 class ProfileSyncService;
16 16
17 // This class provides some common functionality for StatusChangeCheckers that 17 // This class provides some common functionality for StatusChangeCheckers that
18 // observe many ProfileSyncServices. This class is abstract. Its descendants 18 // observe many ProfileSyncServices. This class is abstract. Its descendants
19 // are expected to provide additional functionality. 19 // are expected to provide additional functionality.
20 class MultiClientStatusChangeChecker : public StatusChangeChecker, 20 class MultiClientStatusChangeChecker : public StatusChangeChecker,
21 public sync_driver::SyncServiceObserver { 21 public sync_driver::SyncServiceObserver {
22 public: 22 public:
23 explicit MultiClientStatusChangeChecker( 23 explicit MultiClientStatusChangeChecker(
(...skipping 14 matching lines...) Expand all
38 std::string GetDebugMessage() const override = 0; 38 std::string GetDebugMessage() const override = 0;
39 39
40 protected: 40 protected:
41 const std::vector<ProfileSyncService*>& services() { return services_; } 41 const std::vector<ProfileSyncService*>& services() { return services_; }
42 42
43 private: 43 private:
44 std::vector<ProfileSyncService*> services_; 44 std::vector<ProfileSyncService*> services_;
45 }; 45 };
46 46
47 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECK ER_H_ 47 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_MULTI_CLIENT_STATUS_CHANGE_CHECK ER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698