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

Unified Diff: mojo/public/cpp/bindings/tests/bindings_perftest.cc

Issue 2660733002: Mojo C++ bindings: introduce an optional array to store transferred interface IDs in messages. (Closed)
Patch Set: . Created 3 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
Index: mojo/public/cpp/bindings/tests/bindings_perftest.cc
diff --git a/mojo/public/cpp/bindings/tests/bindings_perftest.cc b/mojo/public/cpp/bindings/tests/bindings_perftest.cc
index 4225815e1a3bc736d75c6c52f2b66dea32f8f25a..6a50de46f93bad397468017dbebec3627fed9dda 100644
--- a/mojo/public/cpp/bindings/tests/bindings_perftest.cc
+++ b/mojo/public/cpp/bindings/tests/bindings_perftest.cc
@@ -154,7 +154,7 @@ class PingPongPaddle : public MessageReceiverWithResponderStatus {
}
}
- internal::MessageBuilder builder(count, 8);
+ internal::MessageBuilder builder(count, 0, 8, 0);
bool result = sender_->Accept(builder.message());
DCHECK(result);
return true;
@@ -173,7 +173,7 @@ class PingPongPaddle : public MessageReceiverWithResponderStatus {
quit_closure_ = run_loop.QuitClosure();
start_time_ = base::TimeTicks::Now();
- internal::MessageBuilder builder(0, 8);
+ internal::MessageBuilder builder(0, 0, 8, 0);
bool result = sender_->Accept(builder.message());
DCHECK(result);
@@ -262,7 +262,7 @@ TEST_F(MojoBindingsPerftest, MultiplexRouterDispatchCost) {
receiver.Reset();
base::TimeTicks start_time = base::TimeTicks::Now();
for (size_t j = 0; j < kIterations[i]; ++j) {
- internal::MessageBuilder builder(0, 8);
+ internal::MessageBuilder builder(0, 0, 8, 0);
bool result =
router->SimulateReceivingMessageForTesting(builder.message());
DCHECK(result);
« no previous file with comments | « mojo/public/cpp/bindings/pipe_control_message_handler.h ('k') | mojo/public/cpp/bindings/tests/connector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698