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
diff --git a/chrome/browser/labs.cc b/chrome/browser/labs.cc
index 75ecc442..e533c30 100644
--- a/chrome/browser/labs.cc
+++ b/chrome/browser/labs.cc
@@ -81,6 +81,22 @@
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