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

Unified Diff: chrome/browser/sync/glue/data_type_manager_mock.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_mock.cc
===================================================================
--- chrome/browser/sync/glue/data_type_manager_mock.cc (revision 91968)
+++ chrome/browser/sync/glue/data_type_manager_mock.cc (working copy)
@@ -4,6 +4,7 @@
#include "base/tracked.h"
#include "chrome/browser/sync/glue/data_type_manager_mock.h"
+#include "chrome/common/chrome_notification_types.h"
namespace browser_sync {
@@ -16,9 +17,9 @@
ON_CALL(*this, Configure(testing::_, testing::_)).
WillByDefault(testing::DoAll(
NotifyFromDataTypeManager(this,
- NotificationType::SYNC_CONFIGURE_START),
+ chrome::NOTIFICATION_SYNC_CONFIGURE_START),
NotifyFromDataTypeManagerWithResult
- (this, NotificationType::SYNC_CONFIGURE_DONE, &result_)));
+ (this, chrome::NOTIFICATION_SYNC_CONFIGURE_DONE, &result_)));
// By default, calling ConfigureWithoutNigori will send a SYNC_CONFIGURE_START
// and SYNC_CONFIGURE_DONE notification with a DataTypeManager::OK
@@ -26,9 +27,9 @@
ON_CALL(*this, ConfigureWithoutNigori(testing::_, testing::_)).
WillByDefault(testing::DoAll(
NotifyFromDataTypeManager(this,
- NotificationType::SYNC_CONFIGURE_START),
+ chrome::NOTIFICATION_SYNC_CONFIGURE_START),
NotifyFromDataTypeManagerWithResult
- (this, NotificationType::SYNC_CONFIGURE_DONE, &result_)));
+ (this, chrome::NOTIFICATION_SYNC_CONFIGURE_DONE, &result_)));
}
DataTypeManagerMock::~DataTypeManagerMock() {}
« no previous file with comments | « chrome/browser/sync/glue/data_type_manager_mock.h ('k') | chrome/browser/sync/glue/extension_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698