| Index: chrome/browser/extensions/extension_protocols.h
|
| diff --git a/chrome/browser/extensions/extension_protocols.h b/chrome/browser/extensions/extension_protocols.h
|
| index 28adb24de5c4d646f14293ea1eace384d4dbbd58..25f9fda8d537dcf953e6452601e2b2dfa08f0c20 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();
|
|
|
|
|