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

Unified Diff: chrome/browser/chromeos/login/base_login_display_host.cc

Issue 10779042: Move notifications only used in chrome/ to chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix oops Created 8 years, 5 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/login/base_login_display_host.cc
diff --git a/chrome/browser/chromeos/login/base_login_display_host.cc b/chrome/browser/chromeos/login/base_login_display_host.cc
index 557d154f23f092f82054ed998437ce558997cd5f..dbb01382d1758eb934d28dbc0142497329b5bdaa 100644
--- a/chrome/browser/chromeos/login/base_login_display_host.cc
+++ b/chrome/browser/chromeos/login/base_login_display_host.cc
@@ -138,7 +138,7 @@ BaseLoginDisplayHost::BaseLoginDisplayHost(const gfx::Rect& background_bounds)
// ref-count. CLOSE_ALL_BROWSERS_REQUEST is safe here because there will be no
// browser instance that will block the shutdown.
registrar_.Add(this,
- content::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
+ chrome::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
content::NotificationService::AllSources());
// NOTIFICATION_BROWSER_OPENED is issued after browser is created, but
@@ -272,12 +272,12 @@ void BaseLoginDisplayHost::Observe(
int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- if (type == content::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST) {
+ if (type == chrome::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST) {
ShutdownDisplayHost(true);
} else if (type == chrome::NOTIFICATION_BROWSER_OPENED) {
OnBrowserCreated();
registrar_.Remove(this,
- content::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
+ chrome::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
content::NotificationService::AllSources());
registrar_.Remove(this,
chrome::NOTIFICATION_BROWSER_OPENED,

Powered by Google App Engine
This is Rietveld 408576698