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

Side by Side Diff: mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.h

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: . Created 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_SCOPED_INTERFACE_ENDPOINT_HANDLE_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_SCOPED_INTERFACE_ENDPOINT_HANDLE_H_
6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_SCOPED_INTERFACE_ENDPOINT_HANDLE_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_SCOPED_INTERFACE_ENDPOINT_HANDLE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/move.h"
10 #include "mojo/public/cpp/bindings/lib/interface_id.h" 11 #include "mojo/public/cpp/bindings/lib/interface_id.h"
11 12
12 namespace mojo { 13 namespace mojo {
13 namespace internal { 14 namespace internal {
14 15
15 class MultiplexRouter; 16 class MultiplexRouter;
16 17
17 // ScopedInterfaceEndpointHandle refers to one end of an interface, either the 18 // ScopedInterfaceEndpointHandle refers to one end of an interface, either the
18 // implementation side or the client side. 19 // implementation side or the client side.
19 class ScopedInterfaceEndpointHandle { 20 class ScopedInterfaceEndpointHandle {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 private: 55 private:
55 InterfaceId id_; 56 InterfaceId id_;
56 bool is_local_; 57 bool is_local_;
57 scoped_refptr<MultiplexRouter> router_; 58 scoped_refptr<MultiplexRouter> router_;
58 }; 59 };
59 60
60 } // namespace internal 61 } // namespace internal
61 } // namespace mojo 62 } // namespace mojo
62 63
63 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_SCOPED_INTERFACE_ENDPOINT_HANDLE_H_ 64 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_SCOPED_INTERFACE_ENDPOINT_HANDLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698