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

Unified Diff: chrome/browser/sync/profile_sync_service_typed_url_unittest.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/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;

Powered by Google App Engine
This is Rietveld 408576698