summaryrefslogtreecommitdiffstats
path: root/chrome/browser/labs.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-25 14:08:56 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-25 14:08:56 +0000
commit52fa2d51ad0335f29e471ff4cafb9c1347e7ea14 (patch)
tree461cc6f61d2f291411c78243335334a1a2cb3c76 /chrome/browser/labs.cc
parentfd3ad516a833d0cdb3f39dad28b03526d53e3ddd (diff)
downloadchromium_src-52fa2d51ad0335f29e471ff4cafb9c1347e7ea14.zip
chromium_src-52fa2d51ad0335f29e471ff4cafb9c1347e7ea14.tar.gz
chromium_src-52fa2d51ad0335f29e471ff4cafb9c1347e7ea14.tar.bz2
Add remoting to about:labs.
BUG=55676 TEST=Go to about:labs and make sure you see a section for Remoting. Review URL: http://codereview.chromium.org/3422010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60578 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/labs.cc')
-rw-r--r--chrome/browser/labs.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/browser/labs.cc b/chrome/browser/labs.cc
index 75ecc44..e533c30 100644
--- a/chrome/browser/labs.cc
+++ b/chrome/browser/labs.cc
@@ -81,6 +81,22 @@ const Experiment kExperiments[] = {
kOsWin,
switches::kEnableMatchPreview
},
+ {
+ "remoting", // Do not change; see above.
+ IDS_LABS_REMOTING_NAME,
+#if defined(OS_WINDOWS)
+ // Windows only supports host functionality at the moment.
+ IDS_LABS_REMOTING_HOST_DESCRIPTION,
+#elif defined(OS_LINUX)
+ // Linux only supports client functionality at the moment.
+ IDS_LABS_REMOTING_CLIENT_DESCRIPTION,
+#else
+ // On other platforms, this lab isn't available at all
+ "",
+#endif
+ kOsWin | kOsLinux,
+ switches::kEnableRemoting
+ },
};
// Extracts the list of enabled lab experiments from a profile and stores them