Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Unified Diff: extensions/common/manifest_handlers/webview_info.h

Issue 1312653003: Fix for WebView accessible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by kalman@. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..55873fd2c8d88199dfaa08e1353b492ba24a23a6 100644
--- a/extensions/common/manifest_handlers/webview_info.h
+++ b/extensions/common/manifest_handlers/webview_info.h
@@ -20,6 +20,9 @@ class PartitionItem;
// "webview" key.
class WebviewInfo : public Extension::ManifestData {
public:
+ // Get the WebviewInfo from |extension|'s manifest.
+ static const WebviewInfo* Get(const Extension* extension);
+
// Define out of line constructor/destructor to please Clang.
WebviewInfo(const std::string& extension_id);
~WebviewInfo() override;

Powered by Google App Engine
This is Rietveld 408576698