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

Unified Diff: chrome/browser/ui/extensions/extension_enable_flow.cc

Issue 425303002: Move extension notifications to extensions/browser/notification_types.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (extension-notifications) rebase Created 6 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
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/extensions/extension_enable_flow.cc
diff --git a/chrome/browser/ui/extensions/extension_enable_flow.cc b/chrome/browser/ui/extensions/extension_enable_flow.cc
index 1689d41cce8e5e04c488ed470df463a2ed01ca67..ebfbdb771dc65650625a82dc99bbb21972a85dac 100644
--- a/chrome/browser/ui/extensions/extension_enable_flow.cc
+++ b/chrome/browser/ui/extensions/extension_enable_flow.cc
@@ -114,7 +114,8 @@ void ExtensionEnableFlow::CreatePrompt() {
void ExtensionEnableFlow::StartObserving() {
extension_registry_observer_.Add(
extensions::ExtensionRegistry::Get(profile_));
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOAD_ERROR,
+ registrar_.Add(this,
+ extensions::NOTIFICATION_EXTENSION_LOAD_ERROR,
content::Source<Profile>(profile_));
}
@@ -126,7 +127,7 @@ void ExtensionEnableFlow::StopObserving() {
void ExtensionEnableFlow::Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- DCHECK_EQ(chrome::NOTIFICATION_EXTENSION_LOAD_ERROR, type);
+ DCHECK_EQ(extensions::NOTIFICATION_EXTENSION_LOAD_ERROR, type);
StopObserving();
delegate_->ExtensionEnableFlowAborted(false);
}
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698