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

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

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 namespace browser_sync {
13 class ProfileSyncService; 14 class ProfileSyncService;
15 } // namespace browser_sync
14 16
15 // This class provides some common functionality for StatusChangeCheckers that 17 // This class provides some common functionality for StatusChangeCheckers that
16 // observe only one ProfileSyncService. This class is abstract. Its 18 // observe only one ProfileSyncService. This class is abstract. Its
17 // descendants are expected to provide additional functionality. 19 // descendants are expected to provide additional functionality.
18 class SingleClientStatusChangeChecker 20 class SingleClientStatusChangeChecker
19 : public MultiClientStatusChangeChecker { 21 : public MultiClientStatusChangeChecker {
20 public: 22 public:
21 explicit SingleClientStatusChangeChecker(ProfileSyncService* service); 23 explicit SingleClientStatusChangeChecker(
24 browser_sync::ProfileSyncService* service);
22 ~SingleClientStatusChangeChecker() override; 25 ~SingleClientStatusChangeChecker() override;
23 26
24 // StatusChangeChecker implementations and stubs. 27 // StatusChangeChecker implementations and stubs.
25 bool IsExitConditionSatisfied() override = 0; 28 bool IsExitConditionSatisfied() override = 0;
26 std::string GetDebugMessage() const override = 0; 29 std::string GetDebugMessage() const override = 0;
27 30
28 protected: 31 protected:
29 ProfileSyncService* service(); 32 browser_sync::ProfileSyncService* service();
30 }; 33 };
31 34
32 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHEC KER_H_ 35 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SINGLE_CLIENT_STATUS_CHANGE_CHEC KER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698