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

Side by Side Diff: mojo/edk/system/request_context.cc

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « mojo/edk/system/request_context.h ('k') | mojo/shell/public/cpp/capabilities.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/edk/system/request_context.h" 5 #include "mojo/edk/system/request_context.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/threading/thread_local.h" 9 #include "base/threading/thread_local.h"
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 return tls_context_->Get() == this; 83 return tls_context_->Get() == this;
84 } 84 }
85 85
86 RequestContext::WatchNotifyFinalizer::WatchNotifyFinalizer( 86 RequestContext::WatchNotifyFinalizer::WatchNotifyFinalizer(
87 scoped_refptr<Watcher> watcher, 87 scoped_refptr<Watcher> watcher,
88 MojoResult result, 88 MojoResult result,
89 const HandleSignalsState& state) 89 const HandleSignalsState& state)
90 : watcher(watcher), result(result), state(state) { 90 : watcher(watcher), result(result), state(state) {
91 } 91 }
92 92
93 RequestContext::WatchNotifyFinalizer::WatchNotifyFinalizer(
94 const WatchNotifyFinalizer& other) = default;
95
93 RequestContext::WatchNotifyFinalizer::~WatchNotifyFinalizer() {} 96 RequestContext::WatchNotifyFinalizer::~WatchNotifyFinalizer() {}
94 97
95 } // namespace edk 98 } // namespace edk
96 } // namespace mojo 99 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/request_context.h ('k') | mojo/shell/public/cpp/capabilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698