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

Unified Diff: chrome/browser/sync/test/integration/sync_test.cc

Issue 296743005: sync: Implement fake server reflection blocking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/sync_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index c965b7db229e1a70cf853aee21f2eb075a2cde64..3b0781e1a4034211f882be1b1d931e7840d449fe 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -405,6 +405,8 @@ void SyncTest::InitializeInvalidations(int index) {
GetProfile(index),
fake_server::FakeServerInvalidationService::Build));
fake_server_->AddObserver(invalidation_service);
+ invalidation_service->SetSelfNotificationsEnabled(
+ TestUsesSelfNotifications());
fake_server_invalidation_services_[index] = invalidation_service;
} else {
invalidation::P2PInvalidationService* p2p_invalidation_service =

Powered by Google App Engine
This is Rietveld 408576698