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

Unified Diff: chrome/browser/extensions/extension_disabled_infobar_delegate.cc

Issue 7633029: Remove extension.h #include from profile.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit_tests. Created 9 years, 4 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/extensions/extension_disabled_infobar_delegate.cc
diff --git a/chrome/browser/extensions/extension_disabled_infobar_delegate.cc b/chrome/browser/extensions/extension_disabled_infobar_delegate.cc
index bdcdfbd4d3866d06edb9798348eb66a37cc4e85f..6dbd444786c310ba51304f068b1fb7c567eab72c 100644
--- a/chrome/browser/extensions/extension_disabled_infobar_delegate.cc
+++ b/chrome/browser/extensions/extension_disabled_infobar_delegate.cc
@@ -162,8 +162,8 @@ void ExtensionDisabledInfobarDelegate::Observe(
} else {
DCHECK_EQ(chrome::NOTIFICATION_EXTENSION_UNLOADED, type);
UnloadedExtensionInfo* info = Details<UnloadedExtensionInfo>(details).ptr();
- if (info->reason == UnloadedExtensionInfo::DISABLE ||
- info->reason == UnloadedExtensionInfo::UNINSTALL)
+ if (info->reason == extension_misc::UNLOAD_REASON_DISABLE ||
+ info->reason == extension_misc::UNLOAD_REASON_UNINSTALL)
extension = info->extension;
}
if (extension == extension_)

Powered by Google App Engine
This is Rietveld 408576698