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

Unified Diff: chrome/browser/password_manager/password_store_default_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/password_manager/password_store_default_unittest.cc
===================================================================
--- chrome/browser/password_manager/password_store_default_unittest.cc (revision 91968)
+++ chrome/browser/password_manager/password_store_default_unittest.cc (working copy)
@@ -15,6 +15,7 @@
#include "chrome/browser/password_manager/password_store_default.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/webdata/web_data_service.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/signaling_task.h"
#include "chrome/test/testing_profile.h"
@@ -83,7 +84,7 @@
void AddObserverTask(PasswordStore* password_store) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
registrar_.Add(&observer_,
- NotificationType::LOGINS_CHANGED,
+ chrome::NOTIFICATION_LOGINS_CHANGED,
Source<PasswordStore>(password_store));
done_event_.Signal();
}
@@ -462,7 +463,7 @@
};
EXPECT_CALL(helper->observer(),
- Observe(NotificationType(NotificationType::LOGINS_CHANGED),
+ Observe(int(chrome::NOTIFICATION_LOGINS_CHANGED),
Source<PasswordStore>(store),
Property(&Details<const PasswordStoreChangeList>::ptr,
Pointee(ElementsAreArray(
@@ -486,7 +487,7 @@
};
EXPECT_CALL(helper->observer(),
- Observe(NotificationType(NotificationType::LOGINS_CHANGED),
+ Observe(int(chrome::NOTIFICATION_LOGINS_CHANGED),
Source<PasswordStore>(store),
Property(&Details<const PasswordStoreChangeList>::ptr,
Pointee(ElementsAreArray(
@@ -505,7 +506,7 @@
};
EXPECT_CALL(helper->observer(),
- Observe(NotificationType(NotificationType::LOGINS_CHANGED),
+ Observe(int(chrome::NOTIFICATION_LOGINS_CHANGED),
Source<PasswordStore>(store),
Property(&Details<const PasswordStoreChangeList>::ptr,
Pointee(ElementsAreArray(
« no previous file with comments | « chrome/browser/password_manager/password_store_default.cc ('k') | chrome/browser/password_manager/password_store_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698