| 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;
|
|
|