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

Unified Diff: chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc

Issue 10079023: Move notifications used only in chrome/ out of content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: six! Created 8 years, 8 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/ui/webui/sync_promo/sync_promo_handler.cc
diff --git a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
index d20a2a208ebf3963e1802a4ebbfed50bbdf58527..4c5b07154172744eb8ea24c84dcfbb0dc5e188ad 100644
--- a/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
+++ b/chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc
@@ -91,7 +91,7 @@ void SyncPromoHandler::RegisterMessages() {
if (!web_ui()->GetWebContents()->GetController().GetActiveEntry()->
IsViewSourceMode()) {
// Listen to see if the tab we're in gets closed.
- registrar_.Add(this, content::NOTIFICATION_TAB_CLOSING,
+ registrar_.Add(this, chrome::NOTIFICATION_TAB_CLOSING,
content::Source<NavigationController>(
&web_ui()->GetWebContents()->GetController()));
// Listen to see if the window we're in gets closed.
@@ -148,7 +148,7 @@ void SyncPromoHandler::Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
switch (type) {
- case content::NOTIFICATION_TAB_CLOSING: {
+ case chrome::NOTIFICATION_TAB_CLOSING: {
if (!window_already_closed_)
RecordUserFlowAction(SYNC_PROMO_CLOSED_TAB);
break;

Powered by Google App Engine
This is Rietveld 408576698