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

Unified Diff: chrome/browser/ui/intents/web_intent_picker_controller.cc

Issue 10079023: Move notifications used only in chrome/ out of content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: six! Created 8 years, 8 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/ui/intents/web_intent_picker_controller.cc
diff --git a/chrome/browser/ui/intents/web_intent_picker_controller.cc b/chrome/browser/ui/intents/web_intent_picker_controller.cc
index f8ceebc36962dd41ee77f19090e03622f80bd3a7..ccaa24873c636c276fa970579fac817225a5faa2 100644
--- a/chrome/browser/ui/intents/web_intent_picker_controller.cc
+++ b/chrome/browser/ui/intents/web_intent_picker_controller.cc
@@ -184,7 +184,7 @@ WebIntentPickerController::WebIntentPickerController(
&wrapper->web_contents()->GetController();
registrar_.Add(this, content::NOTIFICATION_LOAD_START,
content::Source<content::NavigationController>(controller));
- registrar_.Add(this, content::NOTIFICATION_TAB_CLOSING,
+ registrar_.Add(this, chrome::NOTIFICATION_TAB_CLOSING,
content::Source<content::NavigationController>(controller));
}
@@ -242,7 +242,7 @@ void WebIntentPickerController::Observe(
const content::NotificationSource& source,
const content::NotificationDetails& details) {
DCHECK(type == content::NOTIFICATION_LOAD_START ||
- type == content::NOTIFICATION_TAB_CLOSING);
+ type == chrome::NOTIFICATION_TAB_CLOSING);
ClosePicker();
}

Powered by Google App Engine
This is Rietveld 408576698