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

Unified Diff: chrome/browser/automation/automation_extension_tracker.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/automation/automation_extension_tracker.cc
diff --git a/chrome/browser/automation/automation_extension_tracker.cc b/chrome/browser/automation/automation_extension_tracker.cc
index 9c75c7ab8a089c3ee4f709dd71ef7f6090de5e90..6ba03abc4eb764764990642ba1975a4f3dbd88ce 100644
--- a/chrome/browser/automation/automation_extension_tracker.cc
+++ b/chrome/browser/automation/automation_extension_tracker.cc
@@ -7,6 +7,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/extensions/extension.h"
+#include "chrome/common/extensions/extension_constants.h"
#include "content/common/notification_service.h"
AutomationExtensionTracker::AutomationExtensionTracker(
@@ -35,7 +36,7 @@ void AutomationExtensionTracker::Observe(int type,
Profile* profile = Source<Profile>(source).ptr();
if (profile) {
ExtensionService* service = profile->GetExtensionService();
- if (service && info->reason == UnloadedExtensionInfo::UNINSTALL) {
+ if (service && info->reason == extension_misc::UNLOAD_REASON_UNINSTALL) {
// Remove this extension only if it is uninstalled, not just disabled.
CloseResource(extension);
}

Powered by Google App Engine
This is Rietveld 408576698