Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "headless/app/headless_shell_switches.h" | 5 #include "headless/app/headless_shell_switches.h" |
| 6 | 6 |
| 7 namespace headless { | 7 namespace headless { |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // Enable chrash reporter for headless. | |
| 11 const char kEnableCrashReporter[] = "enable-chrash-reporter"; | |
|
Sami
2017/03/27 14:07:58
typo: crash (in the comment too)
dvallet
2017/03/28 02:35:59
Oops, good catch :)
| |
| 12 | |
| 10 // The directory breakpad should store minidumps in. | 13 // The directory breakpad should store minidumps in. |
| 11 const char kCrashDumpsDir[] = "crash-dumps-dir"; | 14 const char kCrashDumpsDir[] = "crash-dumps-dir"; |
| 12 | 15 |
| 13 // Instructs headless_shell to cause network fetches to complete in order of | 16 // Instructs headless_shell to cause network fetches to complete in order of |
| 14 // creation. This removes a significant source of network related | 17 // creation. This removes a significant source of network related |
| 15 // non-determinism at the cost of slower page loads. | 18 // non-determinism at the cost of slower page loads. |
| 16 const char kDeterministicFetch[] = "deterministic-fetch"; | 19 const char kDeterministicFetch[] = "deterministic-fetch"; |
| 17 | 20 |
| 18 // Instructs headless_shell to print document.body.innerHTML to stdout. | 21 // Instructs headless_shell to print document.body.innerHTML to stdout. |
| 19 const char kDumpDom[] = "dump-dom"; | 22 const char kDumpDom[] = "dump-dom"; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 55 // network fetches have completed, timers fire and if the system runs out of | 58 // network fetches have completed, timers fire and if the system runs out of |
| 56 // virtual time is fastforwarded so the next timer fires immediatley, until the | 59 // virtual time is fastforwarded so the next timer fires immediatley, until the |
| 57 // specified virtual time budget is exhausted. | 60 // specified virtual time budget is exhausted. |
| 58 const char kVirtualTimeBudget[] = "virtual-time-budget"; | 61 const char kVirtualTimeBudget[] = "virtual-time-budget"; |
| 59 | 62 |
| 60 // Sets the initial window size. Provided as string in the format "800,600". | 63 // Sets the initial window size. Provided as string in the format "800,600". |
| 61 const char kWindowSize[] = "window-size"; | 64 const char kWindowSize[] = "window-size"; |
| 62 | 65 |
| 63 } // namespace switches | 66 } // namespace switches |
| 64 } // namespace headless | 67 } // namespace headless |
| OLD | NEW |