Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1155)

Unified Diff: chrome/browser/process_singleton_browsertest.cc

Issue 2876153002: Support Using ScopedFeatureList in BrowserTest (Closed)
Patch Set: ilya comments addressed Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/process_singleton_browsertest.cc
diff --git a/chrome/browser/process_singleton_browsertest.cc b/chrome/browser/process_singleton_browsertest.cc
index 939f0e8d6fd98cfdf0bd8d944cb8de1943c60456..144fc17415c0d041ae1424ffceb3f4989b248b12 100644
--- a/chrome/browser/process_singleton_browsertest.cc
+++ b/chrome/browser/process_singleton_browsertest.cc
@@ -35,6 +35,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/test_launcher_utils.h"
+#include "content/public/common/content_switches.h"
Ilya Sherman 2017/06/13 22:42:48 Please revert the changes to this file.
chaopeng 2017/06/28 14:16:51 Done.
namespace {
@@ -79,6 +80,7 @@ class ChromeStarter : public base::RefCountedThreadSafe<ChromeStarter> {
// Add the normal test-mode switches, except for the ones we're adding
// ourselves.
base::CommandLine standard_switches(base::CommandLine::NO_PROGRAM);
+
test_launcher_utils::PrepareBrowserCommandLineForTests(&standard_switches);
const base::CommandLine::SwitchMap& switch_map =
standard_switches.GetSwitches();

Powered by Google App Engine
This is Rietveld 408576698