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

Unified Diff: ppapi/tests/test_post_message.cc

Issue 1440423003: Add support for HandleBlockingMessage to NaClMessageScanner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with mseaborn's changes Created 4 years, 11 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_message_handler.cc ('k') | ppapi/tests/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_post_message.cc
diff --git a/ppapi/tests/test_post_message.cc b/ppapi/tests/test_post_message.cc
index 6cc9d0b2fdf8265f08997f129df14835d7ce5f4b..1004490465cbbf426841dc821cee009010a60488 100644
--- a/ppapi/tests/test_post_message.cc
+++ b/ppapi/tests/test_post_message.cc
@@ -132,23 +132,6 @@ bool VarsEqual(const pp::Var& expected,
return VarsEqual(expected, actual, &visited_ids);
}
-class ScopedArrayBufferSizeSetter {
- public:
- ScopedArrayBufferSizeSetter(const PPB_Testing_Private* interface,
- PP_Instance instance,
- uint32_t threshold)
- : interface_(interface),
- instance_(instance) {
- interface_->SetMinimumArrayBufferSizeForShmem(instance_, threshold);
- }
- ~ScopedArrayBufferSizeSetter() {
- interface_->SetMinimumArrayBufferSizeForShmem(instance_, 0);
- }
- private:
- const PPB_Testing_Private* interface_;
- PP_Instance instance_;
-};
-
#define FINISHED_WAITING_MESSAGE "TEST_POST_MESSAGE_FINISHED_WAITING"
} // namespace
« no previous file with comments | « ppapi/tests/test_message_handler.cc ('k') | ppapi/tests/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698