From cca2195ed0ab793a55b323f7d67f2d38c2d6e13e Mon Sep 17 00:00:00 2001 From: "rdevlin.cronin" Date: Thu, 19 Mar 2015 10:00:22 -0700 Subject: [Extensions] Add a developerPrivate.updateExtensionConfiguration function Add a chrome.developerPrivate.updateExtensionConfiguration function, which allows for setting particular extension traits. Coalesce the existing allow file access and allow incognito access into this, and add others. Update the chrome://extensions page to use the new function. BUG=461039 (get past histogram presubmit warning) NOTRY=true Review URL: https://codereview.chromium.org/997183005 Cr-Commit-Position: refs/heads/master@{#321381} --- extensions/browser/extension_function_histogram_value.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extensions/browser/extension_function_histogram_value.h') diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h index 3e9fbf9..caa1015 100644 --- a/extensions/browser/extension_function_histogram_value.h +++ b/extensions/browser/extension_function_histogram_value.h @@ -331,7 +331,7 @@ enum HistogramValue { WALLPAPERPRIVATE_GETOFFLINEWALLPAPERLIST, BROWSERACTION_GETBADGEBACKGROUNDCOLOR, DELETED_PAGEACTIONS_DISABLEFORTAB, - DEVELOPERPRIVATE_ALLOWFILEACCESS, + DELETED_DEVELOPERPRIVATE_ALLOWFILEACCESS, FILEMANAGERPRIVATE_REMOVEMOUNT, DELETED_BLUETOOTH_CONNECT, TABCAPTURE_CAPTURE, @@ -481,7 +481,7 @@ enum HistogramValue { NETWORKINGPRIVATE_VERIFYANDENCRYPTCREDENTIALS, NETWORKINGPRIVATE_VERIFYANDENCRYPTDATA, DEVELOPERPRIVATE_RESTART, - DEVELOPERPRIVATE_ALLOWINCOGNITO, + DELETED_DEVELOPERPRIVATE_ALLOWINCOGNITO, INPUT_IME_DELETESURROUNDINGTEXT, DELETED_FILEMANAGERPRIVATE_OPENNEWWINDOW, CLOUDPRINTPRIVATE_GETCLIENTID, @@ -1039,6 +1039,7 @@ enum HistogramValue { DEVELOPERPRIVATE_GETEXTENSIONSINFO, DEVELOPERPRIVATE_GETEXTENSIONINFO, FILEMANAGERPRIVATE_ENABLEEXTERNALFILESCHEME, + DEVELOPERPRIVATE_UPDATEEXTENSIONCONFIGURATION, // Last entry: Add new entries above and ensure to update // tools/metrics/histograms/histograms.xml. ENUM_BOUNDARY -- cgit v1.1