| Index: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/sync/profile_sync_service_typed_url_unittest.cc (revision 91880)
|
| +++ chrome/browser/sync/profile_sync_service_typed_url_unittest.cc (working copy)
|
| @@ -28,6 +28,7 @@
|
| #include "chrome/browser/sync/protocol/typed_url_specifics.pb.h"
|
| #include "chrome/browser/sync/syncable/directory_manager.h"
|
| #include "chrome/browser/sync/test_profile_sync_service.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/net/gaia/gaia_constants.h"
|
| #include "chrome/test/profile_mock.h"
|
| #include "chrome/test/sync/engine/test_id_factory.h"
|
| @@ -433,7 +434,7 @@
|
| history::URLsModifiedDetails details;
|
| details.changed_urls.push_back(added_entry);
|
| scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| - notifier->Notify(NotificationType::HISTORY_TYPED_URLS_MODIFIED,
|
| + notifier->Notify(chrome::NOTIFICATION_HISTORY_TYPED_URLS_MODIFIED,
|
| Details<history::URLsModifiedDetails>(&details));
|
|
|
| std::vector<history::URLRow> new_sync_entries;
|
| @@ -469,7 +470,7 @@
|
| history::URLsModifiedDetails details;
|
| details.changed_urls.push_back(updated_entry);
|
| scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| - notifier->Notify(NotificationType::HISTORY_TYPED_URLS_MODIFIED,
|
| + notifier->Notify(chrome::NOTIFICATION_HISTORY_TYPED_URLS_MODIFIED,
|
| Details<history::URLsModifiedDetails>(&details));
|
|
|
| std::vector<history::URLRow> new_sync_entries;
|
| @@ -496,7 +497,7 @@
|
| details.row = added_entry;
|
| details.transition = PageTransition::TYPED;
|
| scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| - notifier->Notify(NotificationType::HISTORY_URL_VISITED,
|
| + notifier->Notify(chrome::NOTIFICATION_HISTORY_URL_VISITED,
|
| Details<history::URLVisitedDetails>(&details));
|
|
|
| std::vector<history::URLRow> new_sync_entries;
|
| @@ -533,7 +534,7 @@
|
| details.row = updated_entry;
|
| details.transition = PageTransition::TYPED;
|
| scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| - notifier->Notify(NotificationType::HISTORY_URL_VISITED,
|
| + notifier->Notify(chrome::NOTIFICATION_HISTORY_URL_VISITED,
|
| Details<history::URLVisitedDetails>(&details));
|
|
|
| std::vector<history::URLRow> new_sync_entries;
|
| @@ -568,7 +569,7 @@
|
| changes.all_history = false;
|
| changes.urls.insert(GURL("http://mine.com"));
|
| scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| - notifier->Notify(NotificationType::HISTORY_URLS_DELETED,
|
| + notifier->Notify(chrome::NOTIFICATION_HISTORY_URLS_DELETED,
|
| Details<history::URLsDeletedDetails>(&changes));
|
|
|
| std::vector<history::URLRow> new_sync_entries;
|
| @@ -602,7 +603,7 @@
|
| history::URLsDeletedDetails changes;
|
| changes.all_history = true;
|
| scoped_refptr<ThreadNotifier> notifier(new ThreadNotifier(&history_thread_));
|
| - notifier->Notify(NotificationType::HISTORY_URLS_DELETED,
|
| + notifier->Notify(chrome::NOTIFICATION_HISTORY_URLS_DELETED,
|
| Details<history::URLsDeletedDetails>(&changes));
|
|
|
| std::vector<history::URLRow> new_sync_entries;
|
|
|