summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_protocols.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 20:03:30 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-22 20:03:30 +0000
commit1712232b6e2beffa413af6d97cf63b30a3b6e7c7 (patch)
tree7346e88a8fa9d4c8bfc6aa417de8b30c60763e5f /chrome/browser/extensions/extension_protocols.h
parentd938aed98c3e683586d37b6dcbb1b20d95eb771a (diff)
downloadchromium_src-1712232b6e2beffa413af6d97cf63b30a3b6e7c7.zip
chromium_src-1712232b6e2beffa413af6d97cf63b30a3b6e7c7.tar.gz
chromium_src-1712232b6e2beffa413af6d97cf63b30a3b6e7c7.tar.bz2
Revert "Parse more user script info out of the manifest and expose"
This reverts commit fc3fd1062c06f803775c16d11f742d85d540e415. Review URL: http://codereview.chromium.org/18681 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_protocols.h')
-rw-r--r--chrome/browser/extensions/extension_protocols.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_protocols.h b/chrome/browser/extensions/extension_protocols.h
index 28adb24..25f9fda 100644
--- a/chrome/browser/extensions/extension_protocols.h
+++ b/chrome/browser/extensions/extension_protocols.h
@@ -13,6 +13,12 @@ extern const char kExtensionURLScheme[];
// The URL scheme Chromium user scripts are served from.
extern const char kUserScriptURLScheme[];
+// Gets a FilePath for a resource inside an extension. |extension_path| is the
+// full path to the extension directory. |resource_path| is the path to the
+// resource from the extension root, including the leading '/'.
+FilePath GetPathForExtensionResource(const FilePath& extension_path,
+ const std::string& resource_path);
+
// Registers support for the extension URL scheme.
void RegisterExtensionProtocols();