Index: chrome/common/extensions/manifest_url_handler.cc |
diff --git a/chrome/common/extensions/manifest_url_handler.cc b/chrome/common/extensions/manifest_url_handler.cc |
index e11c1f6c508c4831a5b5459a95a36a67bc36f490..e1f158ce82c50b9fa7851e76402cace9f7847a72 100644 |
--- a/chrome/common/extensions/manifest_url_handler.cc |
+++ b/chrome/common/extensions/manifest_url_handler.cc |
@@ -227,7 +227,7 @@ bool URLOverridesHandler::Parse(Extension* extension, string16* error) { |
#endif |
#if defined(FILE_MANAGER_EXTENSION) |
is_override = (is_override && |
- !(extension->location() == Extension::COMPONENT && |
+ !(extension->location() == Manifest::COMPONENT && |
page == chrome::kChromeUIFileManagerHost)); |
#endif |
@@ -240,7 +240,7 @@ bool URLOverridesHandler::Parse(Extension* extension, string16* error) { |
// For component extensions, add override URL to extent patterns. |
if (extension->is_legacy_packaged_app() && |
- extension->location() == Extension::COMPONENT) { |
+ extension->location() == Manifest::COMPONENT) { |
URLPattern pattern(URLPattern::SCHEME_CHROMEUI); |
std::string url = base::StringPrintf(kOverrideExtentUrlPatternFormat, |
page.c_str()); |