OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "mojo/public/bindings/tests/math_calculator.mojom.h" | 5 #include "mojo/public/bindings/tests/math_calculator.mojom.h" |
6 #include "mojo/public/bindings/tests/sample_service.mojom.h" | 6 #include "mojo/public/bindings/tests/sample_service.mojom.h" |
7 #include "mojo/public/cpp/bindings/error_handler.h" | 7 #include "mojo/public/cpp/bindings/error_handler.h" |
8 #include "mojo/public/cpp/bindings/remote_ptr.h" | 8 #include "mojo/public/cpp/bindings/remote_ptr.h" |
9 #include "mojo/public/cpp/environment/environment.h" | 9 #include "mojo/public/cpp/environment/environment.h" |
10 #include "mojo/public/cpp/utility/run_loop.h" | 10 #include "mojo/public/cpp/utility/run_loop.h" |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 TEST_F(RemotePtrTest, NoPeerAttribute) { | 221 TEST_F(RemotePtrTest, NoPeerAttribute) { |
222 // This is a test to ensure the following compiles. The sample::Port interface | 222 // This is a test to ensure the following compiles. The sample::Port interface |
223 // does not have an explicit Peer attribute. | 223 // does not have an explicit Peer attribute. |
224 InterfacePipe<sample::Port, NoInterface> pipe; | 224 InterfacePipe<sample::Port, NoInterface> pipe; |
225 RemotePtr<sample::Port> port(pipe.handle_to_self.Pass(), NULL); | 225 RemotePtr<sample::Port> port(pipe.handle_to_self.Pass(), NULL); |
226 } | 226 } |
227 | 227 |
228 } // namespace | 228 } // namespace |
229 } // namespace test | 229 } // namespace test |
230 } // namespace mojo | 230 } // namespace mojo |
OLD | NEW |