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

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

Issue 9274004: Take the Extension Storage API out of experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 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
« no previous file with comments | « chrome/common/extensions/api/experimental.storage.json ('k') | chrome/common/extensions/api/storage.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9b1e7178c3aec80853f6aa14e40f18cdb97d95b9..66a0c5eca8ad203e13b4b3f69730b56024639597 100644
--- a/chrome/common/extensions/api/extension_api.cc
+++ b/chrome/common/extensions/api/extension_api.cc
@@ -80,7 +80,6 @@ ExtensionAPI::ExtensionAPI() {
IDR_EXTENSION_API_JSON_EXPERIMENTAL_SERIAL,
IDR_EXTENSION_API_JSON_EXPERIMENTAL_SOCKET,
IDR_EXTENSION_API_JSON_EXPERIMENTAL_SPEECHINPUT,
- IDR_EXTENSION_API_JSON_EXPERIMENTAL_STORAGE,
IDR_EXTENSION_API_JSON_EXPERIMENTAL_TOPSITES,
IDR_EXTENSION_API_JSON_EXTENSION,
IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER,
@@ -98,6 +97,7 @@ ExtensionAPI::ExtensionAPI() {
IDR_EXTENSION_API_JSON_PAGECAPTURE,
IDR_EXTENSION_API_JSON_PERMISSIONS,
IDR_EXTENSION_API_JSON_PROXY,
+ IDR_EXTENSION_API_JSON_STORAGE,
IDR_EXTENSION_API_JSON_SYSTEMPRIVATE,
IDR_EXTENSION_API_JSON_TABS,
IDR_EXTENSION_API_JSON_TERMINALPRIVATE,
@@ -130,7 +130,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 == "experimental.storage")
+ if (name_space == "storage")
return false;
const base::DictionaryValue* name_space_node = GetSchema(name_space);
« no previous file with comments | « chrome/common/extensions/api/experimental.storage.json ('k') | chrome/common/extensions/api/storage.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698