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

Unified Diff: chrome/browser/bookmarks/bookmark_html_writer.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/bookmarks/bookmark_html_writer.h ('k') | chrome/browser/bookmarks/bookmark_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_html_writer.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_html_writer.cc (revision 91968)
+++ chrome/browser/bookmarks/bookmark_html_writer.cc (working copy)
@@ -17,6 +17,7 @@
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/history/history_types.h"
#include "chrome/browser/profiles/profile.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/browser/browser_thread.h"
#include "content/common/notification_source.h"
#include "grit/generated_resources.h"
@@ -381,7 +382,7 @@
observer_(observer) {
favicons_map_.reset(new URLFaviconMap());
registrar_.Add(this,
- NotificationType::PROFILE_DESTROYED,
+ chrome::NOTIFICATION_PROFILE_DESTROYED,
Source<Profile>(profile_));
}
@@ -399,10 +400,10 @@
}
}
-void BookmarkFaviconFetcher::Observe(NotificationType type,
+void BookmarkFaviconFetcher::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- if (NotificationType::PROFILE_DESTROYED == type && fetcher != NULL) {
+ if (chrome::NOTIFICATION_PROFILE_DESTROYED == type && fetcher != NULL) {
MessageLoop::current()->DeleteSoon(FROM_HERE, fetcher);
fetcher = NULL;
}
« no previous file with comments | « chrome/browser/bookmarks/bookmark_html_writer.h ('k') | chrome/browser/bookmarks/bookmark_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698