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

Unified Diff: chrome/browser/history/history_tab_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/history/history_tab_helper.h ('k') | chrome/browser/history/history_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_tab_helper.cc
===================================================================
--- chrome/browser/history/history_tab_helper.cc (revision 91968)
+++ chrome/browser/history/history_tab_helper.cc (working copy)
@@ -19,7 +19,7 @@
HistoryTabHelper::HistoryTabHelper(TabContents* tab_contents)
: TabContentsObserver(tab_contents),
received_page_title_(false) {
- registrar_.Add(this, NotificationType::TAB_CONTENTS_TITLE_UPDATED,
+ registrar_.Add(this, content::NOTIFICATION_TAB_CONTENTS_TITLE_UPDATED,
Source<TabContents>(tab_contents));
}
@@ -104,10 +104,10 @@
UpdateHistoryForNavigation(add_page_args);
}
-void HistoryTabHelper::Observe(NotificationType type,
+void HistoryTabHelper::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK(type.value == NotificationType::TAB_CONTENTS_TITLE_UPDATED);
+ DCHECK(type == content::NOTIFICATION_TAB_CONTENTS_TITLE_UPDATED);
TitleUpdatedDetails* title = Details<TitleUpdatedDetails>(details).ptr();
if (received_page_title_)
« no previous file with comments | « chrome/browser/history/history_tab_helper.h ('k') | chrome/browser/history/history_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698