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

Side by Side Diff: mojo/public/cpp/bindings/lib/bindings_serialization.cc

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: no-media 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
« no previous file with comments | « mojo/edk/test/scoped_ipc_support.cc ('k') | mojo/public/cpp/bindings/lib/multiplex_router.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/cpp/bindings/lib/bindings_serialization.h" 5 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h"
6 6
7 #include "mojo/public/cpp/environment/logging.h" 7 #include "mojo/public/cpp/environment/logging.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace internal { 10 namespace internal {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 } 83 }
84 84
85 void DecodeHandle(MojoHandle* handle, std::vector<Handle>* handles) { 85 void DecodeHandle(MojoHandle* handle, std::vector<Handle>* handles) {
86 DecodeHandle(reinterpret_cast<Handle*>(handle), handles); 86 DecodeHandle(reinterpret_cast<Handle*>(handle), handles);
87 } 87 }
88 88
89 SerializationContext::SerializationContext() {} 89 SerializationContext::SerializationContext() {}
90 90
91 SerializationContext::SerializationContext( 91 SerializationContext::SerializationContext(
92 scoped_refptr<MultiplexRouter> in_router) 92 scoped_refptr<MultiplexRouter> in_router)
93 : router(in_router.Pass()) {} 93 : router(std::move(in_router)) {}
94 94
95 SerializationContext::~SerializationContext() {} 95 SerializationContext::~SerializationContext() {}
96 96
97 } // namespace internal 97 } // namespace internal
98 } // namespace mojo 98 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/test/scoped_ipc_support.cc ('k') | mojo/public/cpp/bindings/lib/multiplex_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698