summaryrefslogtreecommitdiffstats
path: root/extensions/common/permissions
diff options
context:
space:
mode:
authortsergeant <tsergeant@chromium.org>2015-09-16 20:16:02 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-17 03:16:30 +0000
commite420a141f7474151d61640089ff91c4e32fb8aae (patch)
treeab0f08e1c799773d2a90ff12517d9cc24a574822 /extensions/common/permissions
parent47d5ce85bf9905a2dd002d5e7dbcfa159bed2d65 (diff)
downloadchromium_src-e420a141f7474151d61640089ff91c4e32fb8aae.zip
chromium_src-e420a141f7474151d61640089ff91c4e32fb8aae.tar.gz
chromium_src-e420a141f7474151d61640089ff91c4e32fb8aae.tar.bz2
Add chrome.i18nPrivate.getStrings for translations in component extensions
This common API will allow the deduplication of several existing getStrings APIs. This CL also replaces the existing chrome.identityPrivate.getStrings API with the common API. BUG=529546 NOPRESUBMIT=true (Disabling to allow a rename in the histogram enum) Review URL: https://codereview.chromium.org/1319293004 Cr-Commit-Position: refs/heads/master@{#349341}
Diffstat (limited to 'extensions/common/permissions')
-rw-r--r--extensions/common/permissions/api_permission.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/common/permissions/api_permission.h b/extensions/common/permissions/api_permission.h
index a025966..2a0fbc2 100644
--- a/extensions/common/permissions/api_permission.h
+++ b/extensions/common/permissions/api_permission.h
@@ -242,6 +242,7 @@ class APIPermission {
kLanguageSettingsPrivate,
kEnterpriseDeviceAttributes,
kCertificateProvider,
+ kResourcesPrivate,
// Last entry: Add new entries above and ensure to update the
// "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml
// (by running update_extension_permission.py).