base::TestSuite: Obey --{en,dis}able-features=.. command line arguments.
base::TestSuite currently calls base::FeatureList::InitFromCommandLine()
with empty strings. There's a TODO to use the actual command line.
To fix, move switches::k{En,Dis}ableFeatures from content_switches.h
to base_switches.h and pass the args to InitFromCommandLine().
TBR=boliu@chromium.org, halliwell@chromium.org, bengr@chromium.org
Bug: 778492
Change-Id: I988e5aad6dc926c7f9d783766c4a35275154fbee
Reviewed-on: https://chromium-review.googlesource.com/738013
Commit-Queue: Trent Apted <tapted@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Ilya Sherman <isherman@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512005}
CrOS-Libchrome-Original-Commit: c5e504d99b942c59736cac47803ae43bfc19ec22
3 files changed