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

Unified Diff: chrome/browser/ui/uma_browsing_activity_observer.cc

Issue 10968064: Move the NOTIFICATION_APP_TERMINATING notification from content to chrome, since it's fired by chro… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: cros compile Created 8 years, 3 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/ui/panels/panel.cc ('k') | chrome/common/chrome_notification_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/uma_browsing_activity_observer.cc
===================================================================
--- chrome/browser/ui/uma_browsing_activity_observer.cc (revision 158279)
+++ chrome/browser/ui/uma_browsing_activity_observer.cc (working copy)
@@ -30,7 +30,7 @@
UMABrowsingActivityObserver::UMABrowsingActivityObserver() {
registrar_.Add(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED,
content::NotificationService::AllSources());
- registrar_.Add(this, content::NOTIFICATION_APP_TERMINATING,
+ registrar_.Add(this, chrome::NOTIFICATION_APP_TERMINATING,
content::NotificationService::AllSources());
}
@@ -49,7 +49,7 @@
LogRenderProcessHostCount();
LogBrowserTabCount();
- } else if (type == content::NOTIFICATION_APP_TERMINATING) {
+ } else if (type == chrome::NOTIFICATION_APP_TERMINATING) {
delete g_instance;
g_instance = NULL;
}
« no previous file with comments | « chrome/browser/ui/panels/panel.cc ('k') | chrome/common/chrome_notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698