OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "wtf/text/WTFString.h" | 30 #include "wtf/text/WTFString.h" |
31 | 31 |
32 namespace blink { | 32 namespace blink { |
33 | 33 |
34 class SharedBuffer; | 34 class SharedBuffer; |
35 | 35 |
36 namespace testing { | 36 namespace testing { |
37 | 37 |
38 void runPendingTasks(); | 38 void runPendingTasks(); |
39 | 39 |
| 40 // Wait for delayed task to complete or timers to fire for |delayMs| millisecond
s. |
| 41 void runDelayedTasks(double delayMs); |
| 42 |
40 String blinkRootDir(); | 43 String blinkRootDir(); |
41 | 44 |
42 PassRefPtr<SharedBuffer> readFromFile(const String& path); | 45 PassRefPtr<SharedBuffer> readFromFile(const String& path); |
43 | 46 |
44 void enterRunLoop(); | 47 void enterRunLoop(); |
45 void exitRunLoop(); | 48 void exitRunLoop(); |
46 | 49 |
47 void yieldCurrentThread(); | 50 void yieldCurrentThread(); |
48 | 51 |
49 } // namespace testing | 52 } // namespace testing |
50 } // namespace blink | 53 } // namespace blink |
51 | 54 |
52 #endif | 55 #endif |
OLD | NEW |