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

Unified Diff: chrome/browser/sync/test/integration/p2p_sync_refresher.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/p2p_sync_refresher.h
diff --git a/chrome/browser/sync/test/integration/p2p_sync_refresher.h b/chrome/browser/sync/test/integration/p2p_sync_refresher.h
index e10b8c226691cddb98d2ca9a422128575643f6f2..f002ea561347aed65434668edbd9fe73a5aff2fc 100644
--- a/chrome/browser/sync/test/integration/p2p_sync_refresher.h
+++ b/chrome/browser/sync/test/integration/p2p_sync_refresher.h
@@ -9,7 +9,10 @@
#include "components/sync/driver/sync_service_observer.h"
class Profile;
+
+namespace browser_sync {
class ProfileSyncService;
+} // namespace browser_sync
// This class observes ProfileSyncService events and emits refresh notifications
// to other test profiles for any committed changes it observes.
@@ -18,7 +21,8 @@ class ProfileSyncService;
// intended to make it easy to manage with a scoped_ptr.
class P2PSyncRefresher : public sync_driver::SyncServiceObserver {
public:
- P2PSyncRefresher(Profile* profile, ProfileSyncService* sync_service);
+ P2PSyncRefresher(Profile* profile,
+ browser_sync::ProfileSyncService* sync_service);
~P2PSyncRefresher() override;
// Implementation of sync_driver::SyncServiceObserver
@@ -27,7 +31,7 @@ class P2PSyncRefresher : public sync_driver::SyncServiceObserver {
private:
Profile* const profile_; // weak
- ProfileSyncService* sync_service_; // weak
+ browser_sync::ProfileSyncService* sync_service_; // weak
DISALLOW_COPY_AND_ASSIGN(P2PSyncRefresher);
};

Powered by Google App Engine
This is Rietveld 408576698