| Index: chrome/common/extensions/csp_handler.h
|
| diff --git a/chrome/common/extensions/csp_handler.h b/chrome/common/extensions/csp_handler.h
|
| index cb32c3d536f76fb3b739a97a6b36f2b8e27e1e0c..210b82cc9ee04ad746de3dac51f8d002545225fe 100644
|
| --- a/chrome/common/extensions/csp_handler.h
|
| +++ b/chrome/common/extensions/csp_handler.h
|
| @@ -24,6 +24,12 @@ struct CSPInfo : public Extension::ManifestData {
|
|
|
| static const std::string& GetContentSecurityPolicy(
|
| const Extension* extension);
|
| +
|
| + // Returns the Content Security Policy that the specified resource should be
|
| + // served with.
|
| + static const std::string& GetResourceContentSecurityPolicy(
|
| + const Extension* extension,
|
| + const std::string& relative_path);
|
| };
|
|
|
| // Parses "content_security_policy" and "app.content_security_policy" keys.
|
|
|