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

Unified Diff: chrome/browser/sync/test/integration/quiesce_status_change_checker.h

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/test/integration/quiesce_status_change_checker.h
diff --git a/chrome/browser/sync/test/integration/quiesce_status_change_checker.h b/chrome/browser/sync/test/integration/quiesce_status_change_checker.h
index 59835929934092e0a0f115c6e385078eaf5cd159..59f65e633fdb95bfe52e65b8ed805e256c3b1be4 100644
--- a/chrome/browser/sync/test/integration/quiesce_status_change_checker.h
+++ b/chrome/browser/sync/test/integration/quiesce_status_change_checker.h
@@ -13,9 +13,12 @@
#include "base/time/time.h"
#include "chrome/browser/sync/test/integration/status_change_checker.h"
-class ProfileSyncService;
class ProgressMarkerWatcher;
+namespace browser_sync {
+class ProfileSyncService;
+} // namespace browser_sync
+
// Waits until all provided clients have finished committing any unsynced items
// and downloading each others' udpates.
//
@@ -31,21 +34,21 @@ class ProgressMarkerWatcher;
class QuiesceStatusChangeChecker : public StatusChangeChecker {
public:
explicit QuiesceStatusChangeChecker(
- std::vector<ProfileSyncService*> services);
+ std::vector<browser_sync::ProfileSyncService*> services);
~QuiesceStatusChangeChecker() override;
// Blocks until all clients have quiesced or we time out.
void Wait();
// A callback function for some helper objects.
- void OnServiceStateChanged(ProfileSyncService* service);
+ void OnServiceStateChanged(browser_sync::ProfileSyncService* service);
// Implementation of StatusChangeChecker.
bool IsExitConditionSatisfied() override;
std::string GetDebugMessage() const override;
private:
- std::vector<ProfileSyncService*> services_;
+ std::vector<browser_sync::ProfileSyncService*> services_;
ScopedVector<ProgressMarkerWatcher> observers_;
DISALLOW_COPY_AND_ASSIGN(QuiesceStatusChangeChecker);

Powered by Google App Engine
This is Rietveld 408576698