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

Unified Diff: chrome/browser/sync/test/integration/p2p_invalidation_forwarder.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_invalidation_forwarder.h
diff --git a/chrome/browser/sync/test/integration/p2p_invalidation_forwarder.h b/chrome/browser/sync/test/integration/p2p_invalidation_forwarder.h
index 52e93bcaad0283a10eca71d87afc10c025aeab9f..ad79eafd9ea0269f658fef688157e14ea3eecbf1 100644
--- a/chrome/browser/sync/test/integration/p2p_invalidation_forwarder.h
+++ b/chrome/browser/sync/test/integration/p2p_invalidation_forwarder.h
@@ -9,11 +9,13 @@
#include "base/macros.h"
#include "components/sync/driver/sync_service_observer.h"
+namespace browser_sync {
class ProfileSyncService;
+} // namespace browser_sync
namespace invalidation {
class P2PInvalidationService;
-};
+} // namespace invalidation
// This class links the ProfileSyncService to a P2PInvalidationService.
//
@@ -25,7 +27,7 @@ class P2PInvalidationService;
class P2PInvalidationForwarder : public sync_driver::SyncServiceObserver {
public:
P2PInvalidationForwarder(
- ProfileSyncService* sync_service,
+ browser_sync::ProfileSyncService* sync_service,
invalidation::P2PInvalidationService* invalidation_service);
~P2PInvalidationForwarder() override;
@@ -34,7 +36,7 @@ class P2PInvalidationForwarder : public sync_driver::SyncServiceObserver {
void OnSyncCycleCompleted() override;
private:
- ProfileSyncService* sync_service_;
+ browser_sync::ProfileSyncService* sync_service_;
invalidation::P2PInvalidationService* invalidation_service_;
DISALLOW_COPY_AND_ASSIGN(P2PInvalidationForwarder);

Powered by Google App Engine
This is Rietveld 408576698