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

Unified Diff: ppapi/tests/test_utils.cc

Issue 14139012: PPAPI: More test cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Provide a message loop for "background thread" test so we can use a REQUIRED callback Created 7 years, 8 months 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 | « ppapi/tests/test_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_utils.cc
diff --git a/ppapi/tests/test_utils.cc b/ppapi/tests/test_utils.cc
index 06a4571f83312b7e8ad514b7143f334f4ae478fe..4d251d2aa5b1ece2fa011739f0d8c708a380df1c 100644
--- a/ppapi/tests/test_utils.cc
+++ b/ppapi/tests/test_utils.cc
@@ -150,17 +150,6 @@ TestCompletionCallback::TestCompletionCallback(PP_Instance instance,
delegate_(NULL) {
}
-int32_t TestCompletionCallback::WaitForResult() {
- PP_DCHECK(!wait_for_result_called_);
- wait_for_result_called_ = true;
- errors_.clear();
- if (!have_result_) {
- post_quit_task_ = true;
- RunMessageLoop();
- }
- return result_;
-}
-
void TestCompletionCallback::WaitForResult(int32_t result) {
PP_DCHECK(!wait_for_result_called_);
wait_for_result_called_ = true;
« no previous file with comments | « ppapi/tests/test_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698