Index: chrome/browser/sync/test_profile_sync_service.cc |
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc |
index a51ecb6be338fea7bc320b13c07140063b5ce64a..2db4f86ff72dfee84dcce8c593523d8c9e8fb546 100644 |
--- a/chrome/browser/sync/test_profile_sync_service.cc |
+++ b/chrome/browser/sync/test_profile_sync_service.cc |
@@ -208,15 +208,11 @@ void TestProfileSyncService::OnBackendInitialized( |
} |
} |
-void TestProfileSyncService::Observe( |
- int type, |
- const content::NotificationSource& source, |
- const content::NotificationDetails& details) { |
- ProfileSyncService::Observe(type, source, details); |
- if (type == chrome::NOTIFICATION_SYNC_CONFIGURE_DONE && |
- !synchronous_sync_configuration_) { |
+void TestProfileSyncService::OnConfigureDone( |
+ const browser_sync::DataTypeManager::ConfigureResult& result) { |
+ ProfileSyncService::OnConfigureDone(result); |
+ if (!synchronous_sync_configuration_) |
MessageLoop::current()->Quit(); |
- } |
} |
UserShare* TestProfileSyncService::GetUserShare() const { |