diff options
author | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 05:12:01 +0000 |
---|---|---|
committer | kalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-31 05:12:01 +0000 |
commit | 6c377605a796251d51efe70e903218a6f2ea78b4 (patch) | |
tree | 17856a10bed983bd548040a4b19924be9d9b332b /chrome/common/extensions/api/extension_api.cc | |
parent | a9b16dd01eea5070cab620a1177a05a6b43677ee (diff) | |
download | chromium_src-6c377605a796251d51efe70e903218a6f2ea78b4.zip chromium_src-6c377605a796251d51efe70e903218a6f2ea78b4.tar.gz chromium_src-6c377605a796251d51efe70e903218a6f2ea78b4.tar.bz2 |
Put the Extension Storage API back under experimental until the next release.
There are a couple of missing pieces, notably turning on the sync feature by
default (blocked on writing integration tests).
This patch will be reverted ASAP after the next release build is stable.
BUG=
TEST=browser_tests --gtest_filter=ExtensionSettings*; unit_tests --gtest_filter=ExtensionSettings*
Review URL: http://codereview.chromium.org/9233043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/extension_api.cc')
-rw-r--r-- | chrome/common/extensions/api/extension_api.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/extensions/api/extension_api.cc b/chrome/common/extensions/api/extension_api.cc index 226a8b9..3db7d6f 100644 --- a/chrome/common/extensions/api/extension_api.cc +++ b/chrome/common/extensions/api/extension_api.cc @@ -118,7 +118,7 @@ ExtensionAPI::ExtensionAPI() { IDR_EXTENSION_API_JSON_PERMISSIONS, IDR_EXTENSION_API_JSON_PRIVACY, IDR_EXTENSION_API_JSON_PROXY, - IDR_EXTENSION_API_JSON_STORAGE, + IDR_EXTENSION_API_JSON_EXPERIMENTAL_STORAGE, IDR_EXTENSION_API_JSON_SYSTEMPRIVATE, IDR_EXTENSION_API_JSON_TABS, IDR_EXTENSION_API_JSON_TERMINALPRIVATE, @@ -151,7 +151,7 @@ bool ExtensionAPI::IsPrivileged(const std::string& full_name) const { // HACK(kalman): explicitly mark all Storage API methods as unprivileged. // TODO(kalman): solve this in a more general way; the problem is that // functions-on-properties are not found with the following algorithm. - if (name_space == "storage") + if (name_space == "experimental.storage") return false; const base::DictionaryValue* name_space_node = GetSchema(name_space); |