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

Unified Diff: chrome/common/extensions/extension.h

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/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index e46cba12900b5a5b17993deb43983e434283259e..d5801f53c0b270a6e61533bdc03f9dc5e695bb1c 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -898,13 +898,7 @@ struct UninstalledExtensionInfo {
};
struct UnloadedExtensionInfo {
- enum Reason {
- DISABLE, // The extension is being disabled.
- UPDATE, // The extension is being updated to a newer version.
- UNINSTALL, // The extension is being uninstalled.
- };
-
- Reason reason;
+ extension_misc::UnloadedExtensionReason reason;
// Was the extension already disabled?
bool already_disabled;
@@ -912,7 +906,9 @@ struct UnloadedExtensionInfo {
// The extension being unloaded - this should always be non-NULL.
const Extension* extension;
- UnloadedExtensionInfo(const Extension* extension, Reason reason);
+ UnloadedExtensionInfo(
+ const Extension* extension,
+ extension_misc::UnloadedExtensionReason reason);
};
// The details sent for EXTENSION_PERMISSIONS_UPDATED notifications.

Powered by Google App Engine
This is Rietveld 408576698