OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/test/chromedriver/chrome_launcher.h" | 5 #include "chrome/test/chromedriver/chrome_launcher.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 "disable-background-networking", | 77 "disable-background-networking", |
78 "disable-web-resources", | 78 "disable-web-resources", |
79 "safebrowsing-disable-auto-update", | 79 "safebrowsing-disable-auto-update", |
80 "disable-client-side-phishing-detection", | 80 "disable-client-side-phishing-detection", |
81 "disable-default-apps", | 81 "disable-default-apps", |
82 "enable-logging", | 82 "enable-logging", |
83 "log-level=0", | 83 "log-level=0", |
84 "password-store=basic", | 84 "password-store=basic", |
85 "use-mock-keychain", | 85 "use-mock-keychain", |
86 "test-type=webdriver", | 86 "test-type=webdriver", |
| 87 "force-fieldtrials=SiteIsolationExtensions/Control", |
87 }; | 88 }; |
88 | 89 |
89 const char* const kAndroidSwitches[] = { | 90 const char* const kAndroidSwitches[] = { |
90 "disable-fre", "enable-remote-debugging", | 91 "disable-fre", "enable-remote-debugging", |
91 }; | 92 }; |
92 | 93 |
93 #if defined(OS_LINUX) | 94 #if defined(OS_LINUX) |
94 const char kEnableCrashReport[] = "enable-crash-reporter-for-testing"; | 95 const char kEnableCrashReport[] = "enable-crash-reporter-for-testing"; |
95 #endif | 96 #endif |
96 | 97 |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
876 // Write empty "First Run" file, otherwise Chrome will wipe the default | 877 // Write empty "First Run" file, otherwise Chrome will wipe the default |
877 // profile that was written. | 878 // profile that was written. |
878 if (base::WriteFile( | 879 if (base::WriteFile( |
879 user_data_dir.Append(chrome::kFirstRunSentinel), "", 0) != 0) { | 880 user_data_dir.Append(chrome::kFirstRunSentinel), "", 0) != 0) { |
880 return Status(kUnknownError, "failed to write first run file"); | 881 return Status(kUnknownError, "failed to write first run file"); |
881 } | 882 } |
882 return Status(kOk); | 883 return Status(kOk); |
883 } | 884 } |
884 | 885 |
885 } // namespace internal | 886 } // namespace internal |
OLD | NEW |