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}
diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h
index 53b98cd..fcaba05 100644
--- a/extensions/browser/extension_function_histogram_value.h
+++ b/extensions/browser/extension_function_histogram_value.h
@@ -528,7 +528,7 @@
RUNTIME_GETPLATFORMINFO,
DELETED_WEBVIEW_INSERTCSS,
METRICSPRIVATE_GETISCRASHRECORDINGENABLED,
- IDENTITYPRIVATE_GETSTRINGS,
+ DELETED_IDENTITYPRIVATE_GETSTRINGS,
NOTIFICATIONS_GET_ALL,
USB_LISTINTERFACES,
FILESYSTEM_RETAINENTRY,
@@ -1142,6 +1142,7 @@
CERTIFICATEPROVIDERINTERNAL_REPORTCERTIFICATES,
BLUETOOTHPRIVATE_PAIR,
EASYUNLOCKPRIVATE_FINDSETUPCONNECTION,
+ RESOURCESPRIVATE_GETSTRINGS,
// Last entry: Add new entries above, then run:
// python tools/metrics/histograms/update_extension_histograms.py
ENUM_BOUNDARY