| 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. | 40 // Wait for delayed task to complete or timers to fire for |delayMs| |
| 41 // milliseconds. |
| 41 void runDelayedTasks(double delayMs); | 42 void runDelayedTasks(double delayMs); |
| 42 | 43 |
| 43 String blinkRootDir(); | 44 String blinkRootDir(); |
| 44 | 45 |
| 45 PassRefPtr<SharedBuffer> readFromFile(const String& path); | 46 PassRefPtr<SharedBuffer> readFromFile(const String& path); |
| 46 | 47 |
| 47 void enterRunLoop(); | 48 void enterRunLoop(); |
| 48 void exitRunLoop(); | 49 void exitRunLoop(); |
| 49 | 50 |
| 50 void yieldCurrentThread(); | 51 void yieldCurrentThread(); |
| 51 | 52 |
| 52 } // namespace testing | 53 } // namespace testing |
| 53 } // namespace blink | 54 } // namespace blink |
| 54 | 55 |
| 55 #endif | 56 #endif |
| OLD | NEW |