Add chrome.i18nPrivate.getStrings for translations in component extensions
commite420a141f7474151d61640089ff91c4e32fb8aae
authortsergeant <tsergeant@chromium.org>
Thu, 17 Sep 2015 03:16:02 +0000 (16 20:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 17 Sep 2015 03:16:30 +0000 (17 03:16 +0000)
treeab0f08e1c799773d2a90ff12517d9cc24a574822
parent47d5ce85bf9905a2dd002d5e7dbcfa159bed2d65
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}
23 files changed:
chrome/browser/extensions/api/identity_private/identity_private_api.cc [deleted file]
chrome/browser/extensions/api/identity_private/identity_private_api.h [deleted file]
chrome/browser/extensions/api/resources_private/OWNERS [new file with mode: 0644]
chrome/browser/extensions/api/resources_private/resources_private_api.cc [new file with mode: 0644]
chrome/browser/extensions/api/resources_private/resources_private_api.h [new file with mode: 0644]
chrome/browser/extensions/api/resources_private/resources_private_apitest.cc [new file with mode: 0644]
chrome/browser/resources/identity_scope_approval_dialog/OWNERS [moved from chrome/browser/extensions/api/identity_private/OWNERS with 100% similarity]
chrome/browser/resources/identity_scope_approval_dialog/manifest.json
chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js
chrome/chrome_browser_extensions.gypi
chrome/chrome_tests.gypi
chrome/common/extensions/api/_api_features.json
chrome/common/extensions/api/_permission_features.json
chrome/common/extensions/api/identity_private.idl
chrome/common/extensions/api/resources_private.idl [new file with mode: 0644]
chrome/common/extensions/api/schemas.gypi
chrome/common/extensions/permissions/chrome_api_permissions.cc
chrome/common/extensions/permissions/permission_set_unittest.cc
chrome/test/data/extensions/api_test/resources_private/get_strings/background.js [new file with mode: 0644]
chrome/test/data/extensions/api_test/resources_private/get_strings/manifest.json [new file with mode: 0644]
extensions/browser/extension_function_histogram_value.h
extensions/common/permissions/api_permission.h
tools/metrics/histograms/histograms.xml