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..173cc1c41860fdf1a0657c1cba73cc61a7a6a0b1 100644 |
--- a/chrome/browser/sync/test_profile_sync_service.cc |
+++ b/chrome/browser/sync/test_profile_sync_service.cc |
@@ -208,15 +208,10 @@ 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() { |
+ ProfileSyncService::OnConfigureDone(); |
+ if (!synchronous_sync_configuration_) |
MessageLoop::current()->Quit(); |
- } |
} |
UserShare* TestProfileSyncService::GetUserShare() const { |