| Index: chrome/browser/sync/glue/typed_url_data_type_controller.cc
|
| ===================================================================
|
| --- chrome/browser/sync/glue/typed_url_data_type_controller.cc (revision 91771)
|
| +++ chrome/browser/sync/glue/typed_url_data_type_controller.cc (working copy)
|
| @@ -10,6 +10,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/sync/profile_sync_factory.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "content/browser/browser_thread.h"
|
| #include "content/common/notification_service.h"
|
|
|
| @@ -71,7 +72,7 @@
|
| history_service_ = history;
|
| return true;
|
| } else {
|
| - notification_registrar_.Add(this, NotificationType::HISTORY_LOADED,
|
| + notification_registrar_.Add(this, chrome::HISTORY_LOADED,
|
| NotificationService::AllSources());
|
| return false;
|
| }
|
| @@ -105,7 +106,7 @@
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| DCHECK_EQ(state(), MODEL_STARTING);
|
| notification_registrar_.Remove(this,
|
| - NotificationType::HISTORY_LOADED,
|
| + chrome::HISTORY_LOADED,
|
| NotificationService::AllSources());
|
| history_service_ = profile()->GetHistoryServiceWithoutCreating();
|
| DCHECK(history_service_.get());
|
|
|