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

Unified Diff: chrome/browser/chromeos/input_method/browser_state_monitor.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/input_method/browser_state_monitor.cc
===================================================================
--- chrome/browser/chromeos/input_method/browser_state_monitor.cc (revision 158279)
+++ chrome/browser/chromeos/input_method/browser_state_monitor.cc (working copy)
@@ -42,7 +42,7 @@
// We should not use ALL_BROWSERS_CLOSING here since logout might be cancelled
// by JavaScript after ALL_BROWSERS_CLOSING is sent (crosbug.com/11055).
notification_registrar_.Add(this,
- content::NOTIFICATION_APP_TERMINATING,
+ chrome::NOTIFICATION_APP_TERMINATING,
content::NotificationService::AllSources());
manager_->SetState(state_);
@@ -123,7 +123,7 @@
const content::NotificationSource& source,
const content::NotificationDetails& details) {
switch (type) {
- case content::NOTIFICATION_APP_TERMINATING: {
+ case chrome::NOTIFICATION_APP_TERMINATING: {
SetState(InputMethodManager::STATE_TERMINATING);
break;
}

Powered by Google App Engine
This is Rietveld 408576698