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 5deb8970ac492c81a8bb768b9f515cc3f54f2857..58feb6e8f6549c8c4ab968d62b496d4846309a39 100644 |
--- a/extensions/common/manifest_handlers/webview_info.h |
+++ b/extensions/common/manifest_handlers/webview_info.h |
@@ -27,6 +27,10 @@ class WebviewInfo : public Extension::ManifestData { |
static bool IsResourceWebviewAccessible(const Extension* extension, |
const std::string& partition_id, |
const std::string& relative_path); |
+ // Returns true if the given |extension| has any webview accessible |
+ // resources in the given |partition_id|. |
+ static bool HasWebviewAccessibleResources(const Extension& extension, |
+ const std::string& partition_id); |
// Define out of line constructor/destructor to please Clang. |
explicit WebviewInfo(const std::string& extension_id); |