Chromecast: adds internal flags necessary for browser test runner.

R=lcwu@chromium.org
BUG=336640

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

Cr-Commit-Position: refs/heads/master@{#317465}
diff --git a/chromecast/browser/test/chromecast_browser_test_runner.cc b/chromecast/browser/test/chromecast_browser_test_runner.cc
index ff85ca7..587d745 100644
--- a/chromecast/browser/test/chromecast_browser_test_runner.cc
+++ b/chromecast/browser/test/chromecast_browser_test_runner.cc
@@ -16,6 +16,11 @@
 
 namespace {
 
+// Duplicate settings to avoid link dependency on chromecast/internal.
+const char kSwitchesAVSettingsUnixSocketPath[] = "av-settings-unix-socket-path";
+const char kSwitchesNoWifi[] = "no-wifi";
+
+const char kAvSettingsUnixSocketPath[] = "/tmp/avsettings";
 const char kTestTypeBrowser[] = "browser";
 
 class BrowserTestSuite : public content::ContentTestSuiteBase {
@@ -43,7 +48,10 @@
       base::CommandLine* command_line,
       const base::FilePath& temp_data_dir) override {
     // TODO(gunsch): handle temp_data_dir
+    command_line->AppendSwitch(kSwitchesNoWifi);
     command_line->AppendSwitchASCII(switches::kTestType, kTestTypeBrowser);
+    command_line->AppendSwitchASCII(kSwitchesAVSettingsUnixSocketPath,
+                                    kAvSettingsUnixSocketPath);
     return true;
   }