Skip to content

Commit

Permalink
Add --enable-instant-extended-api to about:flags for all platforms
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dhollowa@chromium.org committed Dec 3, 2012
1 parent 8e610e7 commit 9f12391
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions chrome/browser/about_flags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -494,15 +494,13 @@ const Experiment kExperiments[] = {
kOsWin,
SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu)
},
#if defined(OS_CHROMEOS)
{
"enable-instant-extended-api",
IDS_FLAGS_ENABLE_INSTANT_EXTENDED_API,
IDS_FLAGS_ENABLE_INSTANT_EXTENDED_API_DESCRIPTION,
kOsAll,
SINGLE_VALUE_TYPE(switches::kEnableInstantExtendedAPI)
},
#endif
{
"static-ip-config",
IDS_FLAGS_STATIC_IP_CONFIG_NAME,
Expand Down
3 changes: 1 addition & 2 deletions chrome/browser/ui/search/search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ namespace chrome {
namespace search {

bool IsInstantExtendedAPIEnabled(const Profile* profile) {
return VersionInfo::GetChannel() <= VersionInfo::CHANNEL_DEV &&
!profile->IsOffTheRecord() &&
return !profile->IsOffTheRecord() &&
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableInstantExtendedAPI);
}
Expand Down

0 comments on commit 9f12391

Please sign in to comment.