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

Unified Diff: chrome/browser/plugin_data_remover_helper.cc

Issue 7387010: Add PluginServiceFilter interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review 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/plugin_data_remover_helper.cc
diff --git a/chrome/browser/plugin_data_remover_helper.cc b/chrome/browser/plugin_data_remover_helper.cc
index 4636b73243d9e0ab5e7d01dc729a94dab86067fc..c54daa98e6c69810996c758fb9c74d94bcb75dde 100644
--- a/chrome/browser/plugin_data_remover_helper.cc
+++ b/chrome/browser/plugin_data_remover_helper.cc
@@ -10,6 +10,7 @@
#include "chrome/browser/plugin_data_remover.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/browser/browser_thread.h"
#include "content/common/notification_service.h"
@@ -74,7 +75,7 @@ void PluginDataRemoverHelper::Init(const char* pref_name,
PrefService* prefs,
NotificationObserver* observer) {
pref_.Init(pref_name, prefs, observer);
- registrar_.Add(this, content::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED,
+ registrar_.Add(this, chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED,
NotificationService::AllSources());
internal_ = make_scoped_refptr(new Internal(pref_name, prefs));
internal_->StartUpdate();
@@ -83,7 +84,7 @@ void PluginDataRemoverHelper::Init(const char* pref_name,
void PluginDataRemoverHelper::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- if (type == content::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED) {
+ if (type == chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED) {
internal_->StartUpdate();
} else {
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698