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

Unified Diff: chrome/browser/chromeos/power/power_button_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
Index: chrome/browser/chromeos/power/power_button_observer.cc
===================================================================
--- chrome/browser/chromeos/power/power_button_observer.cc (revision 158279)
+++ chrome/browser/chromeos/power/power_button_observer.cc (working copy)
@@ -43,7 +43,7 @@
content::NotificationService::AllSources());
registrar_.Add(
this,
- content::NOTIFICATION_APP_TERMINATING,
+ chrome::NOTIFICATION_APP_TERMINATING,
content::NotificationService::AllSources());
registrar_.Add(
this,
@@ -74,7 +74,7 @@
ash::Shell::GetInstance()->OnLoginStateChanged(GetCurrentLoginStatus());
break;
}
- case content::NOTIFICATION_APP_TERMINATING:
+ case chrome::NOTIFICATION_APP_TERMINATING:
ash::Shell::GetInstance()->OnAppTerminating();
break;
case chrome::NOTIFICATION_SCREEN_LOCK_STATE_CHANGED: {

Powered by Google App Engine
This is Rietveld 408576698