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

Unified Diff: chrome/browser/plugin_data_remover_helper.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/plugin_data_remover_helper.h ('k') | chrome/browser/plugin_exceptions_table_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_data_remover_helper.cc
===================================================================
--- chrome/browser/plugin_data_remover_helper.cc (revision 91968)
+++ chrome/browser/plugin_data_remover_helper.cc (working copy)
@@ -74,16 +74,16 @@
PrefService* prefs,
NotificationObserver* observer) {
pref_.Init(pref_name, prefs, observer);
- registrar_.Add(this, NotificationType::PLUGIN_ENABLE_STATUS_CHANGED,
+ registrar_.Add(this, content::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED,
NotificationService::AllSources());
internal_ = make_scoped_refptr(new Internal(pref_name, prefs));
internal_->StartUpdate();
}
-void PluginDataRemoverHelper::Observe(NotificationType type,
+void PluginDataRemoverHelper::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- if (type.value == NotificationType::PLUGIN_ENABLE_STATUS_CHANGED) {
+ if (type == content::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED) {
internal_->StartUpdate();
} else {
NOTREACHED();
« no previous file with comments | « chrome/browser/plugin_data_remover_helper.h ('k') | chrome/browser/plugin_exceptions_table_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698