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

Unified Diff: chrome/browser/password_manager/password_store_x_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
« no previous file with comments | « chrome/browser/password_manager/password_store_x.cc ('k') | chrome/browser/plugin_data_remover_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_x_unittest.cc
===================================================================
--- chrome/browser/password_manager/password_store_x_unittest.cc (revision 91968)
+++ chrome/browser/password_manager/password_store_x_unittest.cc (working copy)
@@ -78,7 +78,7 @@
void AddObserverTask() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
registrar_.Add(&observer_,
- NotificationType::LOGINS_CHANGED,
+ chrome::LOGINS_CHANGED,
NotificationService::AllSources());
done_event_.Signal();
}
@@ -541,7 +541,7 @@
};
EXPECT_CALL(helper->observer(),
- Observe(NotificationType(NotificationType::LOGINS_CHANGED),
+ Observe(int(chrome::LOGINS_CHANGED),
NotificationService::AllSources(),
Property(&Details<const PasswordStoreChangeList>::ptr,
Pointee(ElementsAreArray(
@@ -565,7 +565,7 @@
};
EXPECT_CALL(helper->observer(),
- Observe(NotificationType(NotificationType::LOGINS_CHANGED),
+ Observe(int(chrome::LOGINS_CHANGED),
NotificationService::AllSources(),
Property(&Details<const PasswordStoreChangeList>::ptr,
Pointee(ElementsAreArray(
@@ -584,7 +584,7 @@
};
EXPECT_CALL(helper->observer(),
- Observe(NotificationType(NotificationType::LOGINS_CHANGED),
+ Observe(int(chrome::LOGINS_CHANGED),
NotificationService::AllSources(),
Property(&Details<const PasswordStoreChangeList>::ptr,
Pointee(ElementsAreArray(
« no previous file with comments | « chrome/browser/password_manager/password_store_x.cc ('k') | chrome/browser/plugin_data_remover_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698