Index: extensions/browser/image_loader.h |
diff --git a/chrome/browser/extensions/image_loader.h b/extensions/browser/image_loader.h |
similarity index 88% |
rename from chrome/browser/extensions/image_loader.h |
rename to extensions/browser/image_loader.h |
index ae3629553115b0625828bf928b203c99c764de6a..546b32270161a206ee6e3a05b5e7085d597534d3 100644 |
--- a/chrome/browser/extensions/image_loader.h |
+++ b/extensions/browser/image_loader.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_EXTENSIONS_IMAGE_LOADER_H_ |
-#define CHROME_BROWSER_EXTENSIONS_IMAGE_LOADER_H_ |
+#ifndef EXTENSIONS_BROWSER_IMAGE_LOADER_H_ |
+#define EXTENSIONS_BROWSER_IMAGE_LOADER_H_ |
#include <set> |
@@ -75,15 +75,6 @@ class ImageLoader : public KeyedService { |
ImageLoader(); |
virtual ~ImageLoader(); |
- // Checks whether image is a component extension resource. Returns false |
- // if a given |resource| does not have a corresponding image in bundled |
- // resources. Otherwise fills |resource_id|. This doesn't check if the |
- // extension the resource is in is actually a component extension. |
- static bool IsComponentExtensionResource( |
- const base::FilePath& extension_path, |
- const base::FilePath& resource_path, |
- int* resource_id); |
- |
// Specify image resource to load. If the loaded image is larger than |
// |max_size| it will be resized to those dimensions. IMPORTANT NOTE: this |
// function may call back your callback synchronously (ie before it returns) |
@@ -127,4 +118,4 @@ class ImageLoader : public KeyedService { |
} // namespace extensions |
-#endif // CHROME_BROWSER_EXTENSIONS_IMAGE_LOADER_H_ |
+#endif // EXTENSIONS_BROWSER_IMAGE_LOADER_H_ |