Chromium Code Reviews| Index: base/test/test_timeouts.h |
| diff --git a/base/test/test_timeouts.h b/base/test/test_timeouts.h |
| index ddaf05b5e0ca583b011f19bb237817aa01a5c953..d662a201dd6282a829bc0751d97c8b1429f37544 100644 |
| --- a/base/test/test_timeouts.h |
| +++ b/base/test/test_timeouts.h |
| @@ -13,6 +13,9 @@ |
| // the timeouts for different environments (like Valgrind). |
| class TestTimeouts { |
| public: |
| + // Argument that can be passed on the command line to indicate "no timeout". |
| + static const char kNoTimeoutSwitchValue[]; |
|
Peter Kasting
2016/12/15 08:12:29
Nit: Can this be declared constexpr? Maybe by mov
tapted
2016/12/16 04:21:53
Done. Although (curiously?) Clang was happy with j
Peter Kasting
2016/12/16 06:30:56
That's all very weird... when I tested something s
|
| + |
| // Initializes the timeouts. Non thread-safe. Should be called exactly once |
| // by the test suite. |
| static void Initialize(); |