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

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

Issue 10257006: Move Declarative Web Request API out of experimental and make it a feature (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 1cadabd49e21125c3782585e689744db7bab559f..6ff1280d60d92746e2abaebd5d2922582ee37c7c 100644
--- a/chrome/common/extensions/api/extension_api.cc
+++ b/chrome/common/extensions/api/extension_api.cc
@@ -271,6 +271,10 @@ void ExtensionAPI::InitDefaultConfiguration() {
IDR_EXTENSION_API_JSON_COOKIES));
RegisterSchema("debugger", ReadFromResource(
IDR_EXTENSION_API_JSON_DEBUGGER));
+ RegisterSchema("declarative", ReadFromResource(
+ IDR_EXTENSION_API_JSON_DECLARATIVE));
+ RegisterSchema("declarativeWebRequest", ReadFromResource(
+ IDR_EXTENSION_API_JSON_DECLARATIVE_WEBREQUEST));
RegisterSchema("devtools", ReadFromResource(
IDR_EXTENSION_API_JSON_DEVTOOLS));
RegisterSchema("experimental.accessibility", ReadFromResource(
@@ -279,8 +283,6 @@ void ExtensionAPI::InitDefaultConfiguration() {
IDR_EXTENSION_API_JSON_EXPERIMENTAL_APP));
RegisterSchema("experimental.bookmarkManager", ReadFromResource(
IDR_EXTENSION_API_JSON_EXPERIMENTAL_BOOKMARKMANAGER));
- RegisterSchema("experimental.declarative", ReadFromResource(
- IDR_EXTENSION_API_JSON_EXPERIMENTAL_DECLARATIVE));
RegisterSchema("experimental.downloads", ReadFromResource(
IDR_EXTENSION_API_JSON_EXPERIMENTAL_DOWNLOADS));
RegisterSchema("experimental.fontSettings", ReadFromResource(
@@ -305,8 +307,6 @@ void ExtensionAPI::InitDefaultConfiguration() {
IDR_EXTENSION_API_JSON_EXPERIMENTAL_RUNTIME));
RegisterSchema("experimental.speechInput", ReadFromResource(
IDR_EXTENSION_API_JSON_EXPERIMENTAL_SPEECHINPUT));
- RegisterSchema("experimental.webRequest", ReadFromResource(
- IDR_EXTENSION_API_JSON_EXPERIMENTAL_WEBREQUEST));
RegisterSchema("extension", ReadFromResource(
IDR_EXTENSION_API_JSON_EXTENSION));
RegisterSchema("fileBrowserHandler", ReadFromResource(

Powered by Google App Engine
This is Rietveld 408576698