summaryrefslogtreecommitdiffstats
path: root/extensions/common/extension_api.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-09-30 12:04:22 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-30 19:04:45 +0000
commite650b32b0453a45e0bdcb248f93092f1bd1f817f (patch)
tree78dd88c77647aaf6c35bb81526fde7fbea789a32 /extensions/common/extension_api.cc
parentdbcbacdda074a8281df82fb547c6e2453a61e55b (diff)
downloadchromium_src-e650b32b0453a45e0bdcb248f93092f1bd1f817f.zip
chromium_src-e650b32b0453a45e0bdcb248f93092f1bd1f817f.tar.gz
chromium_src-e650b32b0453a45e0bdcb248f93092f1bd1f817f.tar.bz2
Revert "Allow declarative webrequest and webrequest in extensions."
Causing compile failures on Linux GN trybots. > - Update _api_features.json and _permissions.json to allow the following features in extensions: > - declarativeWebrequest, > - events > - webRequest > - webViewRequest > > - Move web_view_request_custom_bindings.js and web_view_request.json to extensions. > > - Remove ExtensionsAPIClient::GetRuleRegistry() since RuleRegisteryService has been moved to extension. > > - Clean up extensions/extensions.gyp. > > TBR=sky@chromium.org > BUG=352293 NOTREECHECKS=true NOTRY=true TBR=fsamuel@chromium.org,rockot@chromium.org,sky@chromium.org Review URL: https://codereview.chromium.org/620623002 Cr-Commit-Position: refs/heads/master@{#297471}
Diffstat (limited to 'extensions/common/extension_api.cc')
-rw-r--r--extensions/common/extension_api.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/extensions/common/extension_api.cc b/extensions/common/extension_api.cc
index 8267695..d10084c 100644
--- a/extensions/common/extension_api.cc
+++ b/extensions/common/extension_api.cc
@@ -23,7 +23,6 @@
#include "extensions/common/features/simple_feature.h"
#include "extensions/common/permissions/permission_set.h"
#include "extensions/common/permissions/permissions_data.h"
-#include "extensions/grit/extensions_resources.h"
#include "ui/base/resource/resource_bundle.h"
#include "url/gurl.h"
@@ -244,11 +243,6 @@ void ExtensionAPI::InitDefaultConfiguration() {
ExtensionsClient::Get()->RegisterAPISchemaResources(this);
- RegisterSchemaResource("declarativeWebRequest",
- IDR_EXTENSION_API_JSON_DECLARATIVE_WEBREQUEST);
- RegisterSchemaResource("webViewRequest",
- IDR_EXTENSION_API_JSON_WEB_VIEW_REQUEST);
-
default_configuration_initialized_ = true;
}