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

Unified Diff: extensions/browser/image_loader.h

Issue 334053003: Moves extension_icon_image and image_loader to extensions/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include fail Created 6 years, 6 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 | « extensions/browser/extensions_browser_client.h ('k') | extensions/browser/image_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « extensions/browser/extensions_browser_client.h ('k') | extensions/browser/image_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698