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

Unified Diff: chrome/browser/extensions/extension_info_map.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_info_map.cc
diff --git a/chrome/browser/extensions/extension_info_map.cc b/chrome/browser/extensions/extension_info_map.cc
index 4e1642029350a807345717d594a4b65f584f7a5b..29462cc270a35867a3f7b823f19e16bea23a95d6 100644
--- a/chrome/browser/extensions/extension_info_map.cc
+++ b/chrome/browser/extensions/extension_info_map.cc
@@ -52,15 +52,15 @@ void ExtensionInfoMap::AddExtension(const Extension* extension,
}
void ExtensionInfoMap::RemoveExtension(const std::string& extension_id,
- const UnloadedExtensionInfo::Reason reason) {
+ const extension_misc::UnloadedExtensionReason reason) {
CheckOnValidThread();
const Extension* extension = extensions_.GetByID(extension_id);
extra_data_.erase(extension_id); // we don't care about disabled extra data
if (extension) {
- if (reason == UnloadedExtensionInfo::DISABLE)
+ if (reason == extension_misc::UNLOAD_REASON_DISABLE)
disabled_extensions_.Insert(extension);
extensions_.Remove(extension_id);
- } else if (reason != UnloadedExtensionInfo::DISABLE) {
+ } else if (reason != extension_misc::UNLOAD_REASON_DISABLE) {
// If the extension was uninstalled, make sure it's removed from the map of
// disabled extensions.
disabled_extensions_.Remove(extension_id);

Powered by Google App Engine
This is Rietveld 408576698