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

Unified Diff: ppapi/tests/test_utils.h

Issue 8515014: Fix flaky PPAPITest.FlashClipboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do the same thing for IsFormatAvailable. Created 9 years, 1 month 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
Index: ppapi/tests/test_utils.h
diff --git a/ppapi/tests/test_utils.h b/ppapi/tests/test_utils.h
index e786aa83e69d78503a5824a78d611b292f4158a1..a7996b6af4963aaa39b02d7159b830e301019f01 100644
--- a/ppapi/tests/test_utils.h
+++ b/ppapi/tests/test_utils.h
@@ -12,8 +12,12 @@
#include "ppapi/c/pp_stdint.h"
#include "ppapi/cpp/completion_callback.h"
+// Timeout to wait for some action to complete.
+extern const int kActionTimeoutMs;
+
const PPB_Testing_Dev* GetTestingInterface();
std::string ReportError(const char* method, int32_t error);
+void PlatformSleep(int duration_ms);
class TestCompletionCallback {
public:

Powered by Google App Engine
This is Rietveld 408576698