summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authormorrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 01:15:32 +0000
committermorrita@chromium.org <morrita@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-12 01:15:32 +0000
commit11dd68cd5c43ea76082eed94d7ffc2e887241005 (patch)
treee350e86a3130dadd2226e8265fdacd73aeb5e446 /chrome
parentb890108601c2300f83a4a5b661b8a68c5a70cedb (diff)
downloadchromium_src-11dd68cd5c43ea76082eed94d7ffc2e887241005.zip
chromium_src-11dd68cd5c43ea76082eed94d7ffc2e887241005.tar.gz
chromium_src-11dd68cd5c43ea76082eed94d7ffc2e887241005.tar.bz2
Added "Experimental Extension APIs" to about:flags.
BUG=62796 TEST=none Review URL: http://codereview.chromium.org/4768003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/generated_resources.grd6
-rw-r--r--chrome/browser/about_flags.cc7
2 files changed, 13 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 768f951..0db7a98 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -4104,6 +4104,12 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_FLAGS_SNAP_START_DESCRIPTION" desc="Description of the 'Snap Start' lab.">
Enables an experimental TLS extension which removes a round trip from HTTPS handshakes.
</message>
+ <message name="IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME" desc="Name of the 'Experimental Extension APIs' lab.">
+ Experimental Extension APIs
+ </message>
+ <message name="IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION" desc="Description of the 'Experimental Extension APIs' lab.">
+ Enables experimental extension APIs. Note that the extension gallery doesn't allow you to upload extensions that use experimental APIs.
+ </message>
<!-- Instant -->
<message name="IDS_INSTANT_OPT_IN_ENABLE" desc="Button shown in the omnibox dropdown for enabling instant">
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1be1f21..dc1391d 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -185,6 +185,13 @@ const Experiment kExperiments[] = {
kOsAll,
switches::kEnableSnapStart
},
+ {
+ "extension-apis", // Do not change; see above.
+ IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME,
+ IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION,
+ kOsAll,
+ switches::kEnableExperimentalExtensionApis
+ },
};
const Experiment* experiments = kExperiments;