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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.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/safe_browsing/safe_browsing_service.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_service.cc (revision 91968)
+++ chrome/browser/safe_browsing/safe_browsing_service.cc (working copy)
@@ -493,7 +493,7 @@
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
enabled_ = true;
- registrar_.Add(this, NotificationType::PURGE_MEMORY,
+ registrar_.Add(this, content::NOTIFICATION_PURGE_MEMORY,
NotificationService::AllSources());
MakeDatabaseAvailable();
@@ -1208,11 +1208,11 @@
white_listed_entries_.push_back(entry);
}
-void SafeBrowsingService::Observe(NotificationType type,
+void SafeBrowsingService::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- DCHECK(type == NotificationType::PURGE_MEMORY);
+ DCHECK(type == content::NOTIFICATION_PURGE_MEMORY);
CloseDatabase();
}
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.h ('k') | chrome/browser/search_engines/search_provider_install_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698