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

Unified Diff: chrome/common/extensions/features/feature.cc

Issue 12093036: Move Extension Location and Type enums to Manifest, and move InstallWarning to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/features/feature.cc
diff --git a/chrome/common/extensions/features/feature.cc b/chrome/common/extensions/features/feature.cc
index b20efda3b75c2267302fd270f69cd0d12866818e..991ec8684313966aefd2faa5ffe509ee5afcb5a1 100644
--- a/chrome/common/extensions/features/feature.cc
+++ b/chrome/common/extensions/features/feature.cc
@@ -34,8 +34,8 @@ Feature::Platform Feature::GetCurrentPlatform() {
}
// static
-Feature::Location Feature::ConvertLocation(Extension::Location location) {
- if (location == Extension::COMPONENT)
+Feature::Location Feature::ConvertLocation(Manifest::Location location) {
+ if (location == Manifest::COMPONENT)
return COMPONENT_LOCATION;
else
return UNSPECIFIED_LOCATION;

Powered by Google App Engine
This is Rietveld 408576698