summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main_mac.mm
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 19:30:00 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 19:30:00 +0000
commit04f3b3a84c1ce914cf468e895cde685470775b49 (patch)
treef025eb9ca3e143fc45af7152f97d8ac250fced89 /chrome/browser/browser_main_mac.mm
parent9e2565ee1b21c0ae681c1ead5570a327cb59501e (diff)
downloadchromium_src-04f3b3a84c1ce914cf468e895cde685470775b49.zip
chromium_src-04f3b3a84c1ce914cf468e895cde685470775b49.tar.gz
chromium_src-04f3b3a84c1ce914cf468e895cde685470775b49.tar.bz2
Change Mac to DCHECK if NetworkChangeNotifier observer list is not empty by destruction time.
Review URL: http://codereview.chromium.org/870003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main_mac.mm')
-rw-r--r--chrome/browser/browser_main_mac.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser_main_mac.mm b/chrome/browser/browser_main_mac.mm
index 7163618..2195761 100644
--- a/chrome/browser/browser_main_mac.mm
+++ b/chrome/browser/browser_main_mac.mm
@@ -61,9 +61,11 @@ void WillInitializeMainMessageLoop(const MainFunctionParams& parameters) {
void DidEndMainMessageLoop() {
AppController* appController = [NSApp delegate];
[appController didEndMainMessageLoop];
+ LOG(ERROR) << "Notifying APP_TERMINATING.";
NotificationService::current()->Notify(NotificationType::APP_TERMINATING,
NotificationService::AllSources(),
NotificationService::NoDetails());
+ LOG(ERROR) << "Notified APP_TERMINATING.";
}
void RecordBreakpadStatusUMA(MetricsService* metrics) {