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

Unified Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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_profile_sync_service.cc
===================================================================
--- chrome/browser/sync/test_profile_sync_service.cc (revision 91968)
+++ chrome/browser/sync/test_profile_sync_service.cc (working copy)
@@ -12,6 +12,7 @@
#include "chrome/browser/sync/sessions/session_state.h"
#include "chrome/browser/sync/syncable/directory_manager.h"
#include "chrome/browser/sync/syncable/syncable.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/test/sync/test_http_bridge_factory.h"
using browser_sync::ModelSafeRoutingInfo;
@@ -245,11 +246,11 @@
}
}
-void TestProfileSyncService::Observe(NotificationType type,
+void TestProfileSyncService::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
ProfileSyncService::Observe(type, source, details);
- if (type == NotificationType::SYNC_CONFIGURE_DONE &&
+ if (type == chrome::NOTIFICATION_SYNC_CONFIGURE_DONE &&
!synchronous_sync_configuration_) {
MessageLoop::current()->Quit();
}
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.h ('k') | chrome/browser/sync/util/extensions_activity_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698