summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/extension_file_util.h
diff options
context:
space:
mode:
authormek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-03 19:42:57 +0000
committermek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-03 19:42:57 +0000
commitb9aae8e08795a381b2915de3a554b4d14472dbe5 (patch)
treeaededa494063621084c892a9505c55d26865cfff /chrome/common/extensions/extension_file_util.h
parentb8f2cbb58238fc3f596230f30141eeebcaa6499f (diff)
downloadchromium_src-b9aae8e08795a381b2915de3a554b4d14472dbe5.zip
chromium_src-b9aae8e08795a381b2915de3a554b4d14472dbe5.tar.gz
chromium_src-b9aae8e08795a381b2915de3a554b4d14472dbe5.tar.bz2
Give Chrome Web Store app an icon in its manifest file.
This fixes no icon being shown in the "The app is currently unreachable" page for the chrome web store. Also added is another exception to ResourceRequestPolicy::CanRequestResource to make sure the error page is always allowed to display the app's icon, even in a manifest v2 app that doesn't list its icons in web_accessible_resources. BUG=135549 Review URL: https://chromiumcodereview.appspot.com/10985028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_file_util.h')
-rw-r--r--chrome/common/extensions/extension_file_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_file_util.h b/chrome/common/extensions/extension_file_util.h
index 49a13cc..fcbdc65 100644
--- a/chrome/common/extensions/extension_file_util.h
+++ b/chrome/common/extensions/extension_file_util.h
@@ -130,6 +130,10 @@ FilePath GetUserDataTempDir();
// TODO(skerner): Make a version of Delete that is not overloaded in file_util.
void DeleteFile(const FilePath& path, bool recursive);
+bool IsComponentExtensionResource(const extensions::Extension* extension,
+ const FilePath& resource_path,
+ int* resource_id);
+
} // namespace extension_file_util
#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_FILE_UTIL_H_