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

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

Issue 218883013: Mojo: Move public/bindings/tests/*.cc to public/cpp/bindings/tests/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/tests/handle_passing_unittest.cc ('k') | mojo/public/cpp/bindings/tests/request_response_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698