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

Unified Diff: chrome/common/extensions/api/extension_api.cc

Issue 28273006: <webview>: Implement declarativeWebRequest API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests Created 7 years, 2 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: chrome/common/extensions/api/extension_api.cc
diff --git a/chrome/common/extensions/api/extension_api.cc b/chrome/common/extensions/api/extension_api.cc
index f28ab3c3c05bd2b6cf39c5b83c6aabab180f9026..c22f10ab0739bd357cf72d1634275fb860162a95 100644
--- a/chrome/common/extensions/api/extension_api.cc
+++ b/chrome/common/extensions/api/extension_api.cc
@@ -262,6 +262,9 @@ void ExtensionAPI::InitDefaultConfiguration() {
RegisterSchemaResource("webstore", IDR_EXTENSION_API_JSON_WEBSTORE);
RegisterSchemaResource("webstorePrivate",
IDR_EXTENSION_API_JSON_WEBSTOREPRIVATE);
+ RegisterSchemaResource("webViewRequest",
+ IDR_EXTENSION_API_JSON_WEBVIEW_REQUEST);
+
default_configuration_initialized_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698