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

Unified Diff: chrome/browser/managed_mode.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/managed_mode.cc
diff --git a/chrome/browser/managed_mode.cc b/chrome/browser/managed_mode.cc
index 7046390deffba5fdbfad85b57a64187993ada97c..6177d85cd93475ed5378ede92c852265473ccbb2 100644
--- a/chrome/browser/managed_mode.cc
+++ b/chrome/browser/managed_mode.cc
@@ -112,7 +112,7 @@ void ManagedMode::EnterManagedModeImpl(Profile* profile,
// browsers to close.
managed_profile_ = original_profile;
callbacks_.push_back(callback);
- registrar_.Add(this, content::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
+ registrar_.Add(this, chrome::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST,
content::NotificationService::AllSources());
registrar_.Add(this, chrome::NOTIFICATION_BROWSER_CLOSE_CANCELLED,
content::NotificationService::AllSources());
@@ -206,7 +206,7 @@ void ManagedMode::Observe(int type,
return;
switch (type) {
- case content::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST: {
+ case chrome::NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST: {
FinalizeEnter(false);
return;
}

Powered by Google App Engine
This is Rietveld 408576698