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

Unified Diff: chrome/browser/password_manager/password_store_default.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.cc
===================================================================
--- chrome/browser/password_manager/password_store_default.cc (revision 91968)
+++ chrome/browser/password_manager/password_store_default.cc (working copy)
@@ -13,6 +13,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/common/chrome_constants.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/pref_names.h"
#include "content/browser/browser_thread.h"
#include "content/common/notification_service.h"
@@ -130,7 +131,7 @@
PasswordStoreChangeList changes;
changes.push_back(PasswordStoreChange(PasswordStoreChange::ADD, form));
NotificationService::current()->Notify(
- NotificationType::LOGINS_CHANGED,
+ chrome::NOTIFICATION_LOGINS_CHANGED,
Source<PasswordStore>(this),
Details<PasswordStoreChangeList>(&changes));
}
@@ -141,7 +142,7 @@
PasswordStoreChangeList changes;
changes.push_back(PasswordStoreChange(PasswordStoreChange::UPDATE, form));
NotificationService::current()->Notify(
- NotificationType::LOGINS_CHANGED,
+ chrome::NOTIFICATION_LOGINS_CHANGED,
Source<PasswordStore>(this),
Details<PasswordStoreChangeList>(&changes));
}
@@ -152,7 +153,7 @@
PasswordStoreChangeList changes;
changes.push_back(PasswordStoreChange(PasswordStoreChange::REMOVE, form));
NotificationService::current()->Notify(
- NotificationType::LOGINS_CHANGED,
+ chrome::NOTIFICATION_LOGINS_CHANGED,
Source<PasswordStore>(this),
Details<PasswordStoreChangeList>(&changes));
}
@@ -170,7 +171,7 @@
**it));
}
NotificationService::current()->Notify(
- NotificationType::LOGINS_CHANGED,
+ chrome::NOTIFICATION_LOGINS_CHANGED,
Source<PasswordStore>(this),
Details<PasswordStoreChangeList>(&changes));
}
« no previous file with comments | « chrome/browser/omnibox_search_hint.cc ('k') | chrome/browser/password_manager/password_store_default_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698