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

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
« no previous file with comments | « chrome/common/extensions/features/feature.h ('k') | chrome/common/extensions/features/simple_feature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c245468ec8daad711d15f7aca9a5124954803d4a 100644
--- a/chrome/common/extensions/features/feature.cc
+++ b/chrome/common/extensions/features/feature.cc
@@ -13,7 +13,6 @@
#include "chrome/common/chrome_switches.h"
using chrome::VersionInfo;
-using extensions::Extension;
namespace {
@@ -34,8 +33,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;
« no previous file with comments | « chrome/common/extensions/features/feature.h ('k') | chrome/common/extensions/features/simple_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698