| Index: extensions/common/manifest_handlers/webview_info.h
|
| diff --git a/extensions/common/manifest_handlers/webview_info.h b/extensions/common/manifest_handlers/webview_info.h
|
| index 968e5fde960906029e7362e5ff2ed6a2bfa69a0d..ca186a8d788573bd5a0d483939a303dc505874cb 100644
|
| --- a/extensions/common/manifest_handlers/webview_info.h
|
| +++ b/extensions/common/manifest_handlers/webview_info.h
|
| @@ -20,16 +20,16 @@ class PartitionItem;
|
| // "webview" key.
|
| class WebviewInfo : public Extension::ManifestData {
|
| public:
|
| + // Returns true if |extension|'s resource at |relative_path| is accessible
|
| + // from the WebView partition with ID |partition_id|.
|
| + static bool IsResourceWebviewAccessible(const Extension* extension,
|
| + const std::string& partition_id,
|
| + const std::string& relative_path);
|
| +
|
| // Define out of line constructor/destructor to please Clang.
|
| WebviewInfo(const std::string& extension_id);
|
| ~WebviewInfo() override;
|
|
|
| - // Returns true if the specified resource is web accessible and the extension
|
| - // matches the manifest's extension.
|
| - bool IsResourceWebviewAccessible(const Extension* extension,
|
| - const std::string& partition_id,
|
| - const std::string& relative_path) const;
|
| -
|
| void AddPartitionItem(scoped_ptr<PartitionItem> item);
|
|
|
| private:
|
|
|