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

Unified Diff: chrome/browser/sync/glue/data_type_manager_impl.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/glue/data_type_manager_impl.cc
===================================================================
--- chrome/browser/sync/glue/data_type_manager_impl.cc (revision 91968)
+++ chrome/browser/sync/glue/data_type_manager_impl.cc (working copy)
@@ -13,6 +13,7 @@
#include "base/metrics/histogram.h"
#include "chrome/browser/sync/glue/data_type_controller.h"
#include "chrome/browser/sync/glue/sync_backend_host.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/browser/browser_thread.h"
#include "content/common/notification_details.h"
#include "content/common/notification_service.h"
@@ -377,7 +378,7 @@
void DataTypeManagerImpl::NotifyStart() {
NotificationService::current()->Notify(
- NotificationType::SYNC_CONFIGURE_START,
+ chrome::NOTIFICATION_SYNC_CONFIGURE_START,
Source<DataTypeManager>(this),
NotificationService::NoDetails());
}
@@ -415,7 +416,7 @@
break;
}
NotificationService::current()->Notify(
- NotificationType::SYNC_CONFIGURE_DONE,
+ chrome::NOTIFICATION_SYNC_CONFIGURE_DONE,
Source<DataTypeManager>(this),
Details<ConfigureResultWithErrorLocation>(&result_with_location));
}
@@ -434,7 +435,7 @@
VLOG(1) << "Accumulated spent configuring: "
<< configure_time_delta_.InSecondsF() << "s";
NotificationService::current()->Notify(
- NotificationType::SYNC_CONFIGURE_BLOCKED,
+ chrome::NOTIFICATION_SYNC_CONFIGURE_BLOCKED,
Source<DataTypeManager>(this),
NotificationService::NoDetails());
}

Powered by Google App Engine
This is Rietveld 408576698