Commit 9f12391e authored by dhollowa@chromium.org's avatar dhollowa@chromium.org

Add --enable-instant-extended-api to about:flags for all platforms

Adds --enable-instant-extended-api to about:flags for all platforms.  Also
removes the < DEV channel restriction.

BUG=163719
TEST=Observe about:flags on other platforms.
R=thakis@chromium.org

Review URL: https://codereview.chromium.org/11414278

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170749 0039d316-1c4b-4281-b951-d872f2087c98
parent 8e610e78
...@@ -494,7 +494,6 @@ const Experiment kExperiments[] = { ...@@ -494,7 +494,6 @@ const Experiment kExperiments[] = {
kOsWin, kOsWin,
SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu) SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu)
}, },
#if defined(OS_CHROMEOS)
{ {
"enable-instant-extended-api", "enable-instant-extended-api",
IDS_FLAGS_ENABLE_INSTANT_EXTENDED_API, IDS_FLAGS_ENABLE_INSTANT_EXTENDED_API,
...@@ -502,7 +501,6 @@ const Experiment kExperiments[] = { ...@@ -502,7 +501,6 @@ const Experiment kExperiments[] = {
kOsAll, kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableInstantExtendedAPI) SINGLE_VALUE_TYPE(switches::kEnableInstantExtendedAPI)
}, },
#endif
{ {
"static-ip-config", "static-ip-config",
IDS_FLAGS_STATIC_IP_CONFIG_NAME, IDS_FLAGS_STATIC_IP_CONFIG_NAME,
......
...@@ -13,8 +13,7 @@ namespace chrome { ...@@ -13,8 +13,7 @@ namespace chrome {
namespace search { namespace search {
bool IsInstantExtendedAPIEnabled(const Profile* profile) { bool IsInstantExtendedAPIEnabled(const Profile* profile) {
return VersionInfo::GetChannel() <= VersionInfo::CHANNEL_DEV && return !profile->IsOffTheRecord() &&
!profile->IsOffTheRecord() &&
CommandLine::ForCurrentProcess()->HasSwitch( CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableInstantExtendedAPI); switches::kEnableInstantExtendedAPI);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment