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

Unified Diff: chrome/browser/extensions/image_loader.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/browser/extensions/image_loader.cc
diff --git a/chrome/browser/extensions/image_loader.cc b/chrome/browser/extensions/image_loader.cc
index dc5d65ff4e05a8170fa31bd971d3bd0b882b9d83..a8a7895580b90c9acbd9bf05973edb51c4b699d3 100644
--- a/chrome/browser/extensions/image_loader.cc
+++ b/chrome/browser/extensions/image_loader.cc
@@ -25,6 +25,7 @@
using content::BrowserThread;
using extensions::Extension;
using extensions::ImageLoader;
+using extensions::Manifest;
namespace {
@@ -243,7 +244,7 @@ void ImageLoader::LoadImagesAsync(
extension->path() == it->resource.extension_root());
int resource_id;
- if (extension->location() == Extension::COMPONENT &&
+ if (extension->location() == Manifest::COMPONENT &&
IsComponentExtensionResource(extension->path(),
it->resource.relative_path(),
&resource_id)) {
« no previous file with comments | « chrome/browser/extensions/external_registry_loader_win.cc ('k') | chrome/browser/extensions/image_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698