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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc

Issue 327243003: Introduce ProfileInvalidationProvider wrapper for InvalidationService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix clang compilation. Created 6 years, 6 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/glue/sync_backend_host_impl_unittest.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc b/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
index dfccb18eac48b791c1407a50282210ba98e8a27b..f48343fce84c3bef2160924f3419060314d62a8e 100644
--- a/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc
@@ -13,7 +13,8 @@
#include "base/synchronization/waitable_event.h"
#include "base/test/test_timeouts.h"
#include "chrome/browser/chrome_notification_types.h"
-#include "chrome/browser/invalidation/invalidation_service_factory.h"
+#include "chrome/browser/invalidation/profile_invalidation_provider.h"
+#include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
#include "chrome/browser/prefs/pref_service_syncable.h"
#include "chrome/browser/sync/glue/device_info.h"
#include "chrome/browser/sync/glue/synced_device_tracker.h"
@@ -159,7 +160,8 @@ class SyncBackendHostTest : public testing::Test {
backend_.reset(new SyncBackendHostImpl(
profile_->GetDebugName(),
profile_,
- invalidation::InvalidationServiceFactory::GetForProfile(profile_),
+ invalidation::ProfileInvalidationProviderFactory::GetForProfile(
+ profile_)->GetInvalidationService(),
sync_prefs_->AsWeakPtr(),
base::FilePath(kTestSyncDir)));
credentials_.email = "user@example.com";

Powered by Google App Engine
This is Rietveld 408576698