diff options
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); |