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

Side by Side Diff: mojo/public/cpp/bindings/tests/union_unittest.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <vector> 5 #include <vector>
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "mojo/message_pump/message_pump_mojo.h" 8 #include "mojo/message_pump/message_pump_mojo.h"
9 #include "mojo/public/cpp/bindings/array.h" 9 #include "mojo/public/cpp/bindings/array.h"
10 #include "mojo/public/cpp/bindings/binding.h" 10 #include "mojo/public/cpp/bindings/binding.h"
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 PodUnionPtr pod(PodUnion::New()); 1122 PodUnionPtr pod(PodUnion::New());
1123 pod->set_f_int16(16); 1123 pod->set_f_int16(16);
1124 1124
1125 ptr->Echo(pod.Pass(), 1125 ptr->Echo(pod.Pass(),
1126 [](PodUnionPtr out) { EXPECT_EQ(16, out->get_f_int16()); }); 1126 [](PodUnionPtr out) { EXPECT_EQ(16, out->get_f_int16()); });
1127 run_loop.RunUntilIdle(); 1127 run_loop.RunUntilIdle();
1128 } 1128 }
1129 1129
1130 } // namespace test 1130 } // namespace test
1131 } // namespace mojo 1131 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698