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

Unified Diff: base/test/test_timeouts.h

Issue 2532793002: Add a TestBrowserDialog helper class for testing browser dialogs in a consistent way. (Closed)
Patch Set: Respond to comments Created 4 years 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
« no previous file with comments | « no previous file | base/test/test_timeouts.cc » ('j') | chrome/browser/ui/test/test_browser_dialog.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | base/test/test_timeouts.cc » ('j') | chrome/browser/ui/test/test_browser_dialog.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698